File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,23 @@ language: scala
22sudo : false
33env :
44 global :
5- - PUBLISH_JDK=openjdk6 # admin/build.sh only publishes when running on this jdk
65# Don't commit sensitive files, instead commit a version encrypted with $SECRET,
76# this environment variable is encrypted with this repo's private key and stored below:
87# (See http://docs.travis-ci.com/user/environment-variables/#Secure-Variables.)
98 - secure : " YO/7YiWEirzz0EAy7oVNmAKroj4qCLZNMkPS+xW/VgeGjuEV+Nk1S7pwxF0o2OggSxIQ+a0lWSrOPQqSXMjOstDIzzGeYfuAt0+0fupXtDDge0mXpCCMadrvYzff1/5XYX0dJ+pjJmz6IgF1hliPJHIuddhhdqPxdHWTHAKm9ME="
109
1110script :
1211 - admin/build.sh
13- scala :
14- - 2.11.8
15- - 2.12.0-RC1 # !!! Duplicated below, edit with care
16- jdk :
17- - openjdk6
18- - oraclejdk8
1912matrix :
20- exclude :
21-
22- - scala : 2.12.0-RC1 # !!! Duplicated above, edit with care
13+ include :
14+ - scala : 2.11.8
2315 jdk : openjdk6
16+ env : IS_PUBLISH_JDK=true
17+ - scala : 2.11.8
18+ jdk : oraclejdk8
19+ - scala : 2.12.0-RC1
20+ jdk : oraclejdk8
21+ env : IS_PUBLISH_JDK=true
2422notifications :
2523 email :
2624 - jason.zaugg@typesafe.com
Original file line number Diff line number Diff line change 55# git on travis does not fetch tags, but we have TRAVIS_TAG
66# headTag=$(git describe --exact-match ||:)
77
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
99 echo " Going to release from tag $TRAVIS_TAG !"
1010 myVer=$( echo $TRAVIS_TAG | sed -e s/^v// | sed -e ' s/_[0-9]*\.[0-9]*//' )
1111 publishVersion=' set every version := "' $myVer ' "'
You can’t perform that action at this time.
0 commit comments