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

Use travis job pipelines #829

Merged
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
37 changes: 22 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
dist: xenial
sudo: required
language: sh
osx_image: xcode10.1

addons:
apt:
Expand All @@ -13,11 +12,13 @@ cache:
- .bazel_cache
- ~/.bazel_binaries

os:
- linux
- osx
# re-enable when someone can get windows green
# - windows
_linux: &linux
os: linux
_osx: &osx
os: osx
osx_image: xcode10.1
_windows:
os: windows

###
#
Expand All @@ -40,15 +41,21 @@ os:
#
###

env:
# Linting is broken. Disable until fixed.
# See https://github.com/bazelbuild/rules_scala/pull/622
# we want to test the last release
- TEST_SCRIPT=test_lint
- TEST_SCRIPT=test_rules_scala
#- TEST_SCRIPT=test_intellij_aspect.sh
- TEST_SCRIPT=test_reproducibility

jobs:
include:
# Lint
- stage: test
<<: *linux
env: TEST_SCRIPT=test_lint
# Test
- <<: *linux
env: TEST_SCRIPT=test_rules_scala
- <<: *linux
env: TEST_SCRIPT=test_reproducibility
- <<: *osx
env: TEST_SCRIPT=test_rules_scala
- <<: *osx
env: TEST_SCRIPT=test_reproducibility

before_install:
- |
Expand Down