forked from spockframework/spock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
28 lines (23 loc) · 1.95 KB
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
build_image: shippableimages/ubuntu1404_java
language: java
jdk:
- openjdk6
- openjdk7
env:
matrix:
- VARIANT=2.0
- VARIANT=2.3
global:
# SIGNING_PASSWORD
- secure: H/xB4ZQl72MorqE5SVuy5wiwuBYckY/Hg6fhBmykniQuTA5lTtYNjEOw1rfyPdvMfIJGWs0Rj2xEkaQhduYsxHK0iU0UmZGz9erq9RM2mJpucBB6Spy5l9pr8u9rzt+DPS8VR5MTFztPGoINHIVQHjBO0TzLmh4VRKbKPwPO3v0LC99s81GEphf5HX/slN0EoqOFKwzYMSTJAER/5qG62peZSGy1ZahHbMtLmjIsoEXSToJD0wochEibkcZ27ViDRGlshp9pZf5rd2uO1Vfji/R4tRepLMM0P6+G2A4K9sAPbB+jRnFNsSZD+sSic4MyP+2jFlp2aEgFj6yyzBmy3A==
# SONATYPE_OSS_PASSWORD
- secure: r87vY4ORpkxwRzUQTHuaAmIUC1dFhxQeJeeDuv2llOeYSxNnfKWQlweklqEDsNeqLTMncrr8dhZ4Zw3V69sHStoUVokCe1xCc171retP3iU5Dp4gmVxM6fRa2FMMm7ayH5FeZOdWxSxyno4kvatwB+2PVpwUJRZyrpvZmZvbiyyPwRhz7vwQPOKeV4aGsPcK2NHsDFweqXsfE88SNd+WNh1kttj0+mABkBCKPMFobQg/wdV4GMRwP8mhrs4gDF+QEP31ShM33VjFUtgXNs3DIeCNwUE5kTf0XxRvKTV4/giX1xqFv5GjkWpysxVtijwz5E8SC9SfSyNwDidNI7ldjQ==
before_script:
- if [[ $SHIPPABLE_JDK_VERSION == "openjdk6" ]] ; then export JAVA_HOME="/usr/lib/jvm/java-6-openjdk-amd64"; export PATH="$PATH:/usr/lib/jvm/java-6-openjdk-amd64/bin"; export java_path="/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java"; fi
- if [[ $SHIPPABLE_JDK_VERSION == "openjdk7" ]] ; then export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"; export PATH="$PATH:/usr/lib/jvm/java-7-openjdk-amd64/bin"; export java_path="/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java"; fi
- if [[ $SHIPPABLE_JDK_VERSION == "oraclejdk7" ]] ; then export JAVA_HOME="/usr/lib/jvm/java-7-oracle"; export PATH="$PATH:/usr/lib/jvm/java-7-oracle/bin"; export java_path="/usr/lib/jvm/java-7-oracle/jre/bin/java"; fi
- if [[ $SHIPPABLE_JDK_VERSION == "oraclejdk8" ]] ; then export JAVA_HOME="/usr/lib/jvm/java-8-oracle"; export PATH="$PATH:/usr/lib/jvm/java-8-oracle/bin"; export java_path="/usr/lib/jvm/java-8-oracle/jre/bin/java"; fi
- update-alternatives --set java $java_path
- java -version
script:
- ./gradlew shippableCiBuild -Dvariant=$VARIANT -Dscan