2016-01-19 23:44:04 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2015-10-08 17:54:20 +00:00
|
|
|
|
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-08-24 23:44:37 +00:00
|
|
|
- 1.9.x
|
2015-10-08 17:54:20 +00:00
|
|
|
|
2017-09-19 14:47:10 +00:00
|
|
|
git:
|
|
|
|
depth: 300
|
|
|
|
|
2015-10-08 17:54:20 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2017-09-19 14:47:10 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-10-19 04:55:07 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
env: RUN_UI_TESTS=1 SKIP_NOMAD_TESTS=1
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode9.1
|
|
|
|
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ui/node_modules
|
|
|
|
|
2016-11-01 12:53:13 +00:00
|
|
|
before_install:
|
2017-10-19 17:03:56 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo bash ./scripts/travis-mac-priv.sh ; fi
|
2017-10-19 04:55:07 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash ./scripts/travis-linux.sh ; fi
|
2016-08-17 04:09:18 +00:00
|
|
|
|
2015-10-08 17:54:20 +00:00
|
|
|
install:
|
|
|
|
- make bootstrap
|
|
|
|
|
|
|
|
script:
|
2017-08-22 19:03:55 +00:00
|
|
|
- sudo -E "PATH=$PATH" make travis
|