forked from playframework/play-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with template-control on 2019-01-04T17:13:23.812Z (playframew…
…ork#65) /.travis.yml: wrote /.travis.yml **build.sbt: scalaVersion := "2.12.8" **/build.properties: sbt.version=1.2.8
- Loading branch information
1 parent
5e4cbb9
commit 4561d17
Showing
3 changed files
with
41 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,50 @@ | ||
language: scala | ||
scala: | ||
# When updating Scala versions, also check the excludes | ||
# in build matrix below. | ||
- 2.11.12 | ||
- 2.12.6 | ||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk11 | ||
- 2.12.8 | ||
|
||
before_install: | ||
- curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh | ||
|
||
env: | ||
global: | ||
- JABBA_HOME=$HOME/.jabba | ||
matrix: | ||
- SCRIPT=scripts/test-sbt | ||
- SCRIPT=scripts/test-gradle | ||
script: | ||
- $SCRIPT | ||
cache: | ||
directories: | ||
- "$HOME/.ivy2/cache" | ||
- "$HOME/.gradle/caches" | ||
before_cache: | ||
- rm -rf $HOME/.ivy2/cache/com.typesafe.play/* | ||
- rm -rf $HOME/.ivy2/cache/scala_*/sbt_*/com.typesafe.play/* | ||
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print0 | xargs -n10 -0 rm | ||
# There is no concise way to specify multi-dimensional build matrix: | ||
# https://github.com/travis-ci/travis-ci/issues/1519 | ||
- SCRIPT=scripts/test-sbt [email protected] | ||
- SCRIPT=scripts/test-sbt [email protected] | ||
- SCRIPT=scripts/test-gradle [email protected] | ||
- SCRIPT=scripts/test-gradle [email protected] | ||
|
||
# Exclude some combinations from build matrix. See: | ||
# https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix | ||
matrix: | ||
fast_finish: true | ||
exclude: | ||
- scala: 2.11.12 | ||
jdk: oraclejdk11 | ||
allow_failures: | ||
# We should allow failures here since Java 11 removed some modules including | ||
# java.xml.bind which we are adding when running with Java 9+. For more details | ||
# see http://openjdk.java.net/jeps/320 | ||
# | ||
# Play already has a fix for that, but it needs to be backported and released | ||
# for 2.6.x: https://github.com/playframework/playframework/pull/8382 | ||
- jdk: oraclejdk11 | ||
# Current release of Gradle still does not supports Play 2.7.x releases | ||
# As soon as there is a release of Gradle that fixes that, we can then | ||
# remove this allowed failure. | ||
- env: SCRIPT=scripts/test-gradle [email protected] | ||
- env: SCRIPT=scripts/test-gradle [email protected] | ||
# Java 11 is still not fully supported. It is good that we are already | ||
# testing our sample applications to better discover possible problems | ||
# but we can allow failures here too. | ||
- env: SCRIPT=scripts/test-sbt [email protected] | ||
|
||
install: | ||
- $JABBA_HOME/bin/jabba install $TRAVIS_JDK | ||
- unset _JAVA_OPTIONS | ||
- export JAVA_HOME="$JABBA_HOME/jdk/$TRAVIS_JDK" && export PATH="$JAVA_HOME/bin:$PATH" && java -Xmx32m -version | ||
|
||
# See https://blog.travis-ci.com/2014-03-13-slack-notifications/ | ||
# created with travis encrypt command line tool | ||
notifications: | ||
slack: | ||
secure: aAZYAn3tV6SAQ2OY/jpuzmEH8TKrxubUscYIXpQnEuyym7L4gPuZPY9BptOFTzScKp+kn4SlpjWeozhe49BbCBU8TNVqLrlY6+ync9pJkdioTaUZ8j4KRJpJtU9GBh7HUt+KUDL3clqefQxPwKMx0ORRQfOsxxpdjHyMa1VTigZInZRRwiB0H87F3TXOZVK9HRBpooErkE3ScRXLrQnT4qrVV1yCbeG8Ly6jmlsNedt4WlCXJftLI/YNQ5+j2Z7OksJCdQFGzRQwe9g9jx8FuFyGBKJUPCAT+YdIQarayb50HBj1fRwaP2Wmb1OeucZbxVWmt3iaNdci06BQMFBMIIw3oSwE2moAgZOpZbtPfMfdww6eQtHal31wAiT26YDpGSugsjkwz7DCKxvvqQra43viVM1UJjBebwv+mK6NpNG+prEzyqyEp11sFAaDn+RmalSR7FzGWIte7i7aGSIdL3jzG/cpOaiXwadoYzsFABpccosmuJ7netzTVMfijgMiUT2RkaKcd98aZ26i5UnwYQQ2rRTFBF6mG2vWgpF98QvAdA0y6NdH9ssV80M8pva2vet4KdrB7WqiYFFgJqoFjZyNWdDHF5WIVKzgY7Js/uN4FKdT0fgXwxxkHlDaJMTKT1I+1WJL59/d8SI8i8Uw7uH5DGQ3nzSEYagLWS5a3Cs= | ||
script: | ||
- $SCRIPT | ||
|
||
before_cache: | ||
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete | ||
- find $HOME/.sbt -name "*.lock" -delete | ||
|
||
cache: | ||
directories: | ||
- "$HOME/.ivy2/cache" | ||
- "$HOME/.gradle/caches" | ||
- "$HOME/.jabba/jdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.2.1 | ||
sbt.version=1.2.8 |