2016-06-30 16:13:07 +00:00
|
|
|
sudo: required
|
2017-01-17 18:48:36 +00:00
|
|
|
dist: trusty
|
2015-04-28 21:05:16 +00:00
|
|
|
|
2018-05-10 20:59:15 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- google-chrome
|
|
|
|
packages:
|
|
|
|
- google-chrome-stable
|
|
|
|
|
2015-04-28 19:51:47 +00:00
|
|
|
language: go
|
|
|
|
|
2016-06-30 16:13:07 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2015-04-28 19:51:47 +00:00
|
|
|
go:
|
2018-05-19 16:07:13 +00:00
|
|
|
- "1.10.2"
|
2015-04-28 19:51:47 +00:00
|
|
|
|
2015-04-29 02:24:43 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
2018-05-10 20:59:15 +00:00
|
|
|
cache:
|
|
|
|
yarn: true
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- nvm install 8
|
|
|
|
- nvm use 8
|
|
|
|
# Repo for Yarn
|
|
|
|
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
|
|
|
|
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y -qq yarn
|
|
|
|
|
2015-04-28 19:51:47 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-02-19 02:23:40 +00:00
|
|
|
- travis-testing
|
|
|
|
|
2018-05-10 20:59:15 +00:00
|
|
|
env:
|
2018-05-30 12:46:25 +00:00
|
|
|
- TEST_COMMAND='BUILD_TAGS="vault travis" make dev test-ember'
|
|
|
|
- TEST_COMMAND='travis_wait 75 BUILD_TAGS="vault travis" make test'
|
|
|
|
- TEST_COMMAND='travis_wait 75 BUILD_TAGS="vault travis" make testrace'
|
2018-05-10 20:59:15 +00:00
|
|
|
|
|
|
|
|
2015-04-28 19:51:47 +00:00
|
|
|
script:
|
2017-02-07 21:04:27 +00:00
|
|
|
- make bootstrap
|
2018-05-10 20:59:15 +00:00
|
|
|
- eval $TEST_COMMAND
|