Skip to content

Commit

Permalink
use travis job pipelines (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyscott authored and johnynek committed Aug 21, 2019
1 parent f261f4c commit d04543a
Showing 1 changed file with 22 additions and 15 deletions.
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

0 comments on commit d04543a

Please sign in to comment.