-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (25 loc) · 1.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: generic
matrix:
include:
- os: osx
osx_image: xcode9.3
- os: linux
dist: xenial
compiler: clang
before_install:
- as --version
# OS X setup
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget "https://github.com/bazelbuild/bazel/releases/download/3.0.0/bazel-3.0.0-installer-darwin-x86_64.sh"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then shasum -c travis/bazel-3.0.0-installer-darwin-x86_64.sh.sha256; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then chmod u+x bazel-3.0.0-installer-darwin-x86_64.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./bazel-3.0.0-installer-darwin-x86_64.sh --user; fi
# Linux setup
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget "https://github.com/bazelbuild/bazel/releases/download/3.0.0/bazel-3.0.0-installer-linux-x86_64.sh"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shasum -c travis/bazel-3.0.0-installer-linux-x86_64.sh.sha256; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod u+x bazel-3.0.0-installer-linux-x86_64.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./bazel-3.0.0-installer-linux-x86_64.sh --user; fi
install: true
script: >
bazel test --keep_going --define yaspl_bootstrap=true
--host_force_python=PY2
//...