File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ language: scala
2
2
sudo : false
3
3
env :
4
4
global :
5
- - PUBLISH_JDK=openjdk6 # admin/build.sh only publishes when running on this jdk
6
5
# Don't commit sensitive files, instead commit a version encrypted with $SECRET,
7
6
# this environment variable is encrypted with this repo's private key and stored below:
8
7
# (See http://docs.travis-ci.com/user/environment-variables/#Secure-Variables.)
17
16
- openjdk6
18
17
- oraclejdk8
19
18
matrix :
20
- exclude :
21
-
22
- - scala : 2.12.0-RC1 # !!! Duplicated above, edit with care
19
+ include :
20
+ - scala : 2.11.8
23
21
jdk : openjdk6
22
+ env : IS_PUBLISH_JDK=true
23
+ - scala : 2.11.8
24
+ jdk : openjdk8
25
+ - scala : 2.12.0-RC1
26
+ jdk : openjdk8
27
+ env : IS_PUBLISH_JDK=true
24
28
notifications :
25
29
email :
26
30
Original file line number Diff line number Diff line change 5
5
# git on travis does not fetch tags, but we have TRAVIS_TAG
6
6
# headTag=$(git describe --exact-match ||:)
7
7
8
- if [ " $TRAVIS_JDK_VERSION " == " $PUBLISH_JDK " ] && [[ " $TRAVIS_TAG " =~ ^v[0-9]+\. [0-9]+\. [0-9]+ (-[A-Za-z0-9-]+)? ]]; then
8
+ if [ " $IS_PUBLISH_JDK " == " true " ] && [[ " $TRAVIS_TAG " =~ ^v[0-9]+\. [0-9]+\. [0-9]+ (-[A-Za-z0-9-]+)? ]]; then
9
9
echo " Going to release from tag $TRAVIS_TAG !"
10
10
myVer=$( echo $TRAVIS_TAG | sed -e s/^v// | sed -e ' s/_[0-9]*\.[0-9]*//' )
11
11
publishVersion=' set every version := "' $myVer ' "'
You can’t perform that action at this time.
0 commit comments