-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
43 lines (33 loc) · 759 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
language: node_js
sudo: false
node_js:
- "8"
env:
- BROWSER=true
cache:
directories:
- node_modules
# Make chrome browser available for testing
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install -g yarn
- yarn
script:
# - npm run lint
- BROWSER=true COVERAGE=true FLAKEY=false npm run test:karma
- npm run build:site
- npm run build:component
# - npm run test:coverage
- ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
after_script:
- cd siteoutput
- git init
- git add .
- git commit -m "Update Document"
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages
branches:
only:
- master