Skip to content

Commit

Permalink
Merge pull request #3466 from barambani/travis-jobs-names
Browse files Browse the repository at this point in the history
Adding travis job names
  • Loading branch information
djspiewak authored Jun 10, 2020
2 parents bd534d9 + 1c70a82 commit 1ed19ce
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,44 +31,53 @@ jobs:
# it can speed up the overall build to have the longer-running jobs at the top of this list.
- &js_tests
stage: test
name: Js tests 2.12
env: TEST="JS tests"
# http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
install: rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
script: sbt ++$TRAVIS_SCALA_VERSION! validateJS && sbt ++$TRAVIS_SCALA_VERSION! validateKernelJS && sbt ++$TRAVIS_SCALA_VERSION! validateFreeJS
scala: *scala_version_212
- <<: *js_tests
name: Js tests 2.13
scala: *scala_version_213

- &jvm_tests
stage: test
name: Jvm tests 2.12
env: TEST="JVM tests"
install: pip install --user codecov
script: sbt ++$TRAVIS_SCALA_VERSION! coverage buildJVM bench/test coverageReport
scala: *scala_version_212
after_success: codecov -F scala_version_212
- <<: *jvm_tests
name: Jvm tests 2.13
scala: *scala_version_213
after_success: codecov -F scala_version_213


- stage: test
name: Make Microsite
env: TEST="docs"
install: gem install jekyll -v 4.0.0
script: sbt docs/makeMicrosite

- stage: test
name: Scalafix tests
env: TEST="scalafix"
script: cd scalafix && sbt tests/test

- &bincompat
stage: test
name: Binary compatibility 2.12
env: TEST="binary compatibility"
script: sbt ++$TRAVIS_SCALA_VERSION! validateBC
scala: *scala_version_212
- <<: *bincompat
name: Binary compatibility 2.13
scala: *scala_version_213

- stage: styling
name: Linting
env: TEST="linting"
script: sbt +fmtCheck

Expand Down

0 comments on commit 1ed19ce

Please sign in to comment.