50 lines
791 B
YAML
50 lines
791 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- google-chrome
|
|
packages:
|
|
- google-chrome-stable
|
|
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- "1.12"
|
|
|
|
go_import_path: github.com/hashicorp/vault
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
cache:
|
|
directories:
|
|
- ui/node_modules
|
|
|
|
before_install:
|
|
- nvm install 10
|
|
- nvm use 10
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.1
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- travis-testing
|
|
|
|
env:
|
|
- TEST_COMMAND='make dev test-ember'
|
|
- TEST_COMMAND='make dev test-ui-browserstack'
|
|
- TEST_COMMAND='travis_wait 75 make testtravis'
|
|
- TEST_COMMAND='travis_wait 75 make testracetravis'
|
|
- GO111MODULE=on
|
|
|
|
script:
|
|
- make bootstrap
|
|
- eval $TEST_COMMAND
|