forked from nodecg/nodecg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (50 loc) · 1.44 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
sudo: false
dist: trusty
language: node_js
node_js:
- '6'
os:
- linux
env:
global:
- secure: UTOIm7gj3nevCdM2gWW4TKm26QIf+CtGLy7KRy03maWy8Yxfb5JbjtFeeXDSnuxKROr/HyBUotgD+bTOV48QQEjzRNMzjG215S0kbXo22D3p52rZ8Xdb3uQWifi5burqLNIDHx5F8suidN/bvuSxX2ZLO9MizdAmsxtQBtOjuvE=
- secure: FXrHIYwBQrovaiB5EhLnnVznuWos7mmPyb2Vu0lFQJ7h0rKY+1FEfuRlnEb04ZV0otoUL2ZQRTEd2DDSqJ6gzFm4k/8bAXP6tn9grpWy0v/zN9B/Azje47TbafiziftOOEWXyEbMv60WOxB+0lHkrl4c1TOSI1r5RPsGNIdw8jo=
- CXX=g++-4.8
cache:
apt: true
directories:
- node_modules
- bower_components
- '$HOME/.npm'
addons:
sauce_connect: true
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./test/setup/travis_pr_setup.sh; fi'
install:
- npm prune
- npm install
before_script:
- npm install -g bower
- npm install -g grunt-cli
- bower install
after_success: npm run coveralls
matrix:
fast_finish: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/8c1769bff63cbd033bf7
on_success: always
on_failure: always
on_start: never
slack:
secure: R+TkavWRhREwc9shV6JYJ+YrrMdpaSB5iYlVVhtO4XjSJPtbsgFvg8aelELIfwUY/Lsl6dmUD8bhv1GxN4Bdui7igrGEzXqh+ziJSnPET0Apxyc2HFYzM3phQYwsESyFXGfx9PiegLQ6fcozZ75rio17YhPjT8//9jb5I9hue9g=