open-vault/.travis.yml

49 lines
788 B
YAML

sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: go
services:
- docker
go:
- "1.10.2"
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 test'
- TEST_COMMAND='travis_wait 75 make testrace'
script:
- make bootstrap
- eval $TEST_COMMAND