Merge pull request #225 from dwijnand/travis

CI enforce publish artifacts package without failure
This commit is contained in:
Dale Wijnand 2018-03-15 12:53:27 +00:00 committed by GitHub
commit e48438fecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -2,16 +2,20 @@ language: scala
jdk: oraclejdk8
scala:
- 2.11.11
- 2.12.3
- 2.11.12
- 2.12.4
matrix:
include:
- scala: 2.12.3
- 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
packagedArtifacts # ensure that all artifacts for publish package without failure
cache:
directories:
@ -19,5 +23,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