forked from carbon-design-system/carbon-components-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 827 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
sudo: required
dist: trusty
language: node_js
node_js:
- "8"
addons:
chrome: stable
before_install:
- "google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3"
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
script: "npm run lint && npm test"
deploy:
-
provider: script
script: "bash ./scripts/deploy.sh"
skip_cleanup: true
true:
branch: master
-
allow-empty-commit: true
email: [email protected]
github-token: $GH_TOKEN
keep-history: true
local-dir: pages
name: carbon-bot
provider: pages
skip_cleanup: true
true:
branch: master
notifications:
email: false