forked from cloudflare/node-cloudflare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (46 loc) · 1.64 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
language: node_js
dist: trusty
sudo: false
before_install:
- npm install -g npm@latest
notifications:
email: false
test_stage: &test_stage
after_success:
- npm run coverage
jobs:
include:
- stage: lint
node_js: 10
script:
- npm run lint
- stage: test
<<: *test_stage
node_js: 6
- stage: test
<<: *test_stage
node_js: 8
- stage: test
<<: *test_stage
node_js: 10
- stage: release
node_js: 10
script: skip
deploy:
- provider: npm
email: [email protected]
api_key:
secure: v38GBBoojaq8VigHC9BOZTGBZV4T8exrNRwrSYwpfedGesCDrnRYRXGXlNxqU8xI68RtNq00KlxPV3k3rSP3ZCboyl92g3sqwqCND0Z1hGGQqZxnP477Kwo+IOm3/p6uUwj0L3xesDc2p7vhNgNXHZG1GPcebpaVOhZtARR7AubeWbtNakG8iQJV8FyL9f0nx6M1RNNYqftxz+ibxRJYzpFFn1XIx0aznbtn82LcCODdbkqcZnopkirayV7XNI1Pt+wsI1PoHXppEyZJdnWPLJKdifoDKaCu6cVYUSTOXDd/2SFDZzQW/rqlbhBF/H4CPtoo/HdRslx+dsYxvTkF+RTrj0ec+nazOH1HSmqNWTHNWEE+vuDjm9w27Eus1iRpZRc6mbrvwD2uFEIjr7k2BUJanx+g3dvVy0ePLy5tIuEk1Fxvx7keq4oE1h9NAEbL1cSqmqOYusU67NAON8i+krRP+AOFfoGm5V+wkVqHmr61CIz191JUQwhAusc0B9IEmpYaP737niianqFU8VpiQ0kjJuK2HOx9q3Dj4WSH8tzjsUHTL8jJDruLuF2skC2IIQ+Ud8aXRvtCdLv4YGlBiXXAyPvyl/VCFGD0Ob2aAOnM8IyeupqKVPJmLr1LaG/YX0Xrk+VRqN8IwPJoxevAwZsMF7j7ghOr2PL7xZElT9k=
skip_cleanup: true
on:
tags: true
- stage: release
node_js: 8
script:
- npm install -g documentation@^5.3.5
- documentation build index.js --format html --output documentation
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: documentation