-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
52 lines (41 loc) · 886 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
48
49
50
51
52
language: node_js
node_js:
- 'node'
- 'lts/*'
addons:
apt:
packages:
- git
- make
- curl
services:
- xvfb
install:
- npm install
script:
- node ./internals/scripts/generate-templates-for-linting
- npm test -- --maxWorkers=4
- npm run build
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
notifications:
email:
on_failure: change
# Install terraform
# before_install:
# - curl -sLo /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.8.8/terraform_0.8.8_linux_amd64.zip
# - unzip /tmp/terraform.zip -d /tmp
# - mkdir ~/bin
# - mv /tmp/terraform ~/bin
# - export PATH="~/bin:$PATH"
# deploy:
# - provider: script
# skip_cleanup: true
# script: terraform apply ./terraform
# on:
# branch: master
after_success: 'npm run coveralls'
cache:
directories:
- node_modules