forked from Kitware/paraviewweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (44 loc) · 980 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
language: node_js
os: linux
sudo: required
dist: trusty
notifications:
email:
recipients:
on_success: change
on_failure: always
cache:
directories:
- node_modules
- documentation/www/node_modules
node_js:
- '6'
env:
- CXX=g++-4.8
addons:
sources:
- ubuntu-toolchain-r-test
apt:
packages:
- g++-4.8
- xvfb
env:
CXX=g++-4.8
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm install
- npm run build:release -- --bail
- 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/paraviewweb.git
- if [ "$TRAVIS_BRANCH" == "master" ]; then npm run doc:publish; fi
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"