open-vault/.travis.yml

51 lines
844 B
YAML

sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: go
services:
- docker
go:
- "1.10.2"
go_import_path: github.com/hashicorp/vault
matrix:
allow_failures:
- go: tip
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
branches:
only:
- master
- travis-testing
env:
- TEST_COMMAND='make dev test-ember'
- TEST_COMMAND='travis_wait 75 make testtravis'
- TEST_COMMAND='travis_wait 75 make testracetravis'
script:
- make bootstrap
- eval $TEST_COMMAND