From d04543a5a478f900a8dc70e7b219fd11fb39e9e8 Mon Sep 17 00:00:00 2001 From: Andy Scott Date: Wed, 21 Aug 2019 13:37:57 -0700 Subject: [PATCH] use travis job pipelines (#829) --- .travis.yml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e72d23f4..decb29078 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ dist: xenial sudo: required language: sh -osx_image: xcode10.1 addons: apt: @@ -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 ### # @@ -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: - |