forked from Kitware/vtk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (35 loc) · 864 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
language: node_js
os: linux
dist: trusty
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
addons:
chrome: stable
node_js:
- '8'
notifications:
email:
recipients:
on_success: change
on_failure: always
cache:
directories:
- node_modules
- Documentation/build-tmp
script:
- npm install
- npm run build:release
- npm run test:travis
- git config --global user.name "Travis CI"
- git config --global user.email "[email protected]"
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/Kitware/vtk-js.git
- if [ "$TRAVIS_BRANCH" == "master" ]; then npm run doc:publish; fi
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"