-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
25 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,30 +1,11 @@ | ||
language: java | ||
env: | ||
- TRAVIS_SCALA_VERSION=2.11.11 | ||
- TRAVIS_SCALA_VERSION=2.12.8 | ||
- TRAVIS_SCALA_VERSION=2.13.0 | ||
os: linux | ||
dist: bionic | ||
language: scala | ||
jdk: | ||
- oraclejdk8 | ||
|
||
dist: trusty | ||
sudo: required | ||
|
||
addons: | ||
apt: | ||
update: true | ||
|
||
# Cache directory to S3 at the end of the build | ||
- openjdk8 | ||
cache: | ||
directories: | ||
- $HOME/.cache/coursier | ||
|
||
# From https://raw.githubusercontent.com/scalalandio/chimney/master/.travis.yml | ||
before_script: | ||
- if [[ "$TRAVIS_SCALA_VERSION" == 2.11.* ]]; then curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x; fi | ||
|
||
- $HOME/.sbt | ||
script: | ||
- set -x && | ||
if [[ "$TRAVIS_SCALA_VERSION" == 2.11.* ]]; then testNative=trailNative/test; else testNative=""; fi && | ||
curl -L -o csbt https://github.com/coursier/sbt-launcher/releases/download/v1.2.14/csbt && | ||
chmod +x csbt && | ||
COURSIER_SBT_LAUNCHER_ADD_PLUGIN=true ./csbt ++$TRAVIS_SCALA_VERSION trailJVM/test trailJS/test $testNative | ||
- sbt +test |