forked from infernojs/inferno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (42 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: node_js
node_js:
- '6'
# Use container-based Travis infrastructure.
sudo: required
dist: trusty
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
addons:
at:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_install:
- "nvm use $TRAVIS_NODE_VERSION"
- npm config set loglevel http
# Repo for newer Node.js versions
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# 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
- yarn install
cache:
directories:
- $HOME/.yarn-cache
notifications:
email: true
after_script:
- npm run server:cov:publish