Wrap Travis CI build script

This commit is contained in:
Dale Wijnand 2018-03-15 12:32:25 +00:00
parent 3ed3099017
commit e6cffafdba
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 7 additions and 4 deletions

View File

@ -10,8 +10,11 @@ matrix:
- scala: 2.12.4
jdk: oraclejdk9
script:
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M ";++$TRAVIS_SCALA_VERSION;mimaReportBinaryIssues;scalafmt::test;test:scalafmt::test;sbt:scalafmt::test;test"
script: sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M
++$TRAVIS_SCALA_VERSION
mimaReportBinaryIssues
scalafmt::test test:scalafmt::test sbt:scalafmt::test
test
cache:
directories:
@ -19,5 +22,5 @@ cache:
- $HOME/.sbt
before_cache:
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete