-
-
Notifications
You must be signed in to change notification settings - Fork 391
/
.travis.yml
59 lines (59 loc) · 1.69 KB
/
.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
50
51
52
53
54
55
56
57
58
59
sudo: required
dist: trusty
language: node_js
os: linux
sudo: required
dist: trusty
group: deprecated-2017Q2
addons:
apt:
packages:
- g++-4.8
- mesa-utils
- xvfb
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
- pkg-config
- libxi-dev
node_js:
- "10"
env:
- CXX=g++-4.8
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
- npm install
- npm run build
script:
- npm test
after_success:
- jest --coverage
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose
- rm -rf ./coverage
before_deploy:
- gulp examples:build
- gulp docs --all
deploy:
provider: surge
project: ./
domain: whs-dev.surge.sh
skip_cleanup: true
on: dev
deploy:
provider: surge
project: ./docs/public/
domain: whs.io
skip_cleanup: true
on:
branch: master
tags: true
deploy:
provider: npm
email: hirako2000@gmail.com
api_key:
secure: "a9xwVrOp4nA1NsgDtB4Bx82PPHGex2on/AzfrAoCouX4sWeetYiW7/poYKtWE5VwMw57Cr1JJ99NRngOt/hZkTNHq8AGy/Kt2QynSV/tilY2SHQ+6pWzCxJGkWhLBDtzKqvxnCS4kGJEKD8lAEEm/6DwPkP0LL3Hyj81MyTNTZGLYY8wjFeaNHPfgqmJ+QBmN6WOwDyFl+YL7A7fuHVm/60sYvUM3gmUuEh1yBIPPD9Qw8T4NLJTnRtTQbLG9oo3UKhTrxv/SBDZzjtX6KNXlEyE8IM/F2xawnfUgjWFP7ie827yF+fwQfEu+0iJnkoE089YBeKbGoy4QUyrhBA+kBRcNeOOw1/mTJCVh2AVLHttmi4du5PODjP+Ag5susT/FU6vXjC01RUZaWJQLeYbB3F3+EnPzYTKNuFRPmKKIi8r4JrJG7ypGxtv9dXOtB5tcGR+XfCDCpHhIxwL0ZwGC9aRzzyMz2ECDi7qpmqAjPtIZW+W4REVNXrMgdg2cO753NsI/DJLMZ5sM2SpW3ZSTdVYUcbBMUKXZGdOyAOUVKeQ7AFX5sOaz0cqv5OsqRJSebq2ARQ9zVa4NUIXjw30F5qAV8Anqmur8IHRgFReVa9nIBi499soTUlEZshmR7YwaMIn1iJPyz7mbnY5VAw2XIHkNLRomWEzaoMI2v8HvfA="
on:
branch: master
tags: true
skip_cleanup: true