Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding travis job names #3466

Merged
merged 2 commits into from
Jun 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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