35 lines
756 B
YAML
35 lines
756 B
YAML
# Not really c++, but stops travis from listing a language.
|
|
language: c++
|
|
|
|
matrix:
|
|
include:
|
|
# -----------------------------------------------------------------
|
|
# Linux hosted tests
|
|
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: false
|
|
env: BAZEL=HEAD
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: false
|
|
env: BUILDIFIER=RELEASE
|
|
|
|
# -----------------------------------------------------------------
|
|
# macOS hosted tests
|
|
|
|
- os: osx
|
|
osx_image: xcode10.1
|
|
env: BAZEL=HEAD
|
|
# No need for a BUILDIFIER run on mac, the results will be the same.
|
|
# And linux boxes test faster on travis, so just use the one.
|
|
|
|
before_install:
|
|
- ./.travis_install.sh
|
|
|
|
script:
|
|
- ./.travis_build.sh
|
|
|
|
notifications:
|
|
email: false
|