-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
51 lines (43 loc) · 1001 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
50
51
language: node_js
notifications:
email: false
dist: trusty
sudo: required
cache: npm
install:
- npm install
- npm install -g codecov coveralls
jobs:
include:
- stage: "Test"
name: "Node 8"
node_js: "8"
script: npm run coverage
- name: "Node 9"
node_js: "9"
script: npm run coverage
- name: "Node 10"
node_js: "10"
script: npm run coverage
- name: "Node 11"
node_js: "11"
script:
- npm run coverage && codecov
- npm run report | coveralls
after_success:
- npm run typedoc
- cp jekyll/_config.yml docs/_config.yml
- npm run build && mv dist/* .
deploy:
- provider: pages
skip_cleanup: true
local_dir: docs/
github_token: $GITHUB_TOKEN
on:
branch: master
- provider: npm
skip_cleanup: true
email: $EMAIL
api_key: $NPM_API_KEY
on:
branch: release