Skip to content

Commit

Permalink
Travis-CI build matrix for cross-building
Browse files Browse the repository at this point in the history
  • Loading branch information
guilgaly committed Nov 30, 2018
1 parent e33faf8 commit dd31821
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci_scripts/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

echo "[INFO] Check the source format"

sbt scalafmt test:scalafmt > /dev/null
sbt ++$TRAVIS_SCALA_VERSION scalafmt test:scalafmt > /dev/null
git diff --exit-code || (cat >> /dev/stdout <<EOF
[ERROR] Scalafmt check failed, see differences above.
To fix, format your sources using sbt scalafmt test:scalafmt before submitting a pull request.
Expand All @@ -15,4 +15,4 @@ false

echo "[INFO] Running tests" >> /dev/stdout

sbt clean +test
sbt ++$TRAVIS_SCALA_VERSION test
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
sudo: false
language: scala
scala:
- 2.12.7
- 2.11.12
jdk:
- oraclejdk8
cache:
Expand Down

0 comments on commit dd31821

Please sign in to comment.