forked from locutusjs/locutus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (31 loc) · 914 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
language: node_js
node_js:
- '4.4.2' # When you update this, also update deploy.on.node further down, to tell who is the deployer build
- '0.12'
- '0.10' # this should be quoted; otherwise, 0.10 would not work
sudo: false
matrix:
allow_failures:
- node_js: 0.1
- node_js: 0.12
cache:
directories:
- node_modules
- website/node_modules
env:
global:
- secure: "c4unKozz+OKffwUmypDb+E8qcR9JM7tb7fQ75jidOiz57HM5hmLVJokj017GrUeoPAw3nSE6l0O9Yvyf5K4QNguZ4IXlrtTO1repPLHyUCX3Hoo3PhXDo6g6ySpt8tMpP3dX6r7JUn5YHjxASfOI8VJTmcnxyNkVH66H6VMOA2I="
script:
- npm run lint
- npm run build
- npm run test
- npm run website:install
# Travis docs: Note that pull request builds skip deployment step altogether.
# https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on
deploy:
skip_cleanup: true
provider: script
script: scripts/travis-deploy.sh
on:
branch: master
node: '4.4.2'