forked from Kitware/vtk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (44 loc) · 991 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
language: node_js
os: linux
sudo: required
dist: trusty
addons:
sources:
- ubuntu-toolchain-r-test
apt:
packages:
- gcc-4.8
- g++-4.8
- xvfb
node_js:
- '6'
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
- sleep 3
env:
- CXX=g++-4.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+$/"