2017-01-20 02:49:28 +01:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2016-01-22 10:48:34 +01:00
|
|
|
|
2017-01-20 02:49:28 +01:00
|
|
|
language: scala
|
2016-01-22 10:48:34 +01:00
|
|
|
|
2014-06-26 07:43:35 +02:00
|
|
|
scala:
|
2017-01-20 02:49:28 +01:00
|
|
|
- 2.11.8
|
2016-03-31 02:45:33 +02:00
|
|
|
|
2013-12-10 03:01:16 +01:00
|
|
|
jdk:
|
|
|
|
- openjdk7
|
2014-06-26 07:43:35 +02:00
|
|
|
- oraclejdk7
|
2016-03-31 02:45:33 +02:00
|
|
|
- oraclejdk8
|
2014-06-26 07:43:35 +02:00
|
|
|
|
2017-01-20 02:49:28 +01:00
|
|
|
script:
|
|
|
|
- if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then
|
|
|
|
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
2017-01-20 07:50:04 +01:00
|
|
|
sbt ++$TRAVIS_SCALA_VERSION "; test; publish";
|
2017-01-20 02:49:28 +01:00
|
|
|
else
|
2017-01-20 07:50:04 +01:00
|
|
|
sbt ++$TRAVIS_SCALA_VERSION test;
|
2017-01-20 02:49:28 +01:00
|
|
|
fi;
|
|
|
|
else
|
2017-01-20 07:25:56 +01:00
|
|
|
sbt ++$TRAVIS_SCALA_VERSION test;
|
2017-01-20 02:49:28 +01:00
|
|
|
fi
|