-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
51 lines (50 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: node_js
node_js:
- "10"
- "12"
- "14"
- "8"
- lts/*
before_script:
- npm install
- npm install nyc@13 --global
script:
- "npm i @iarna/toml@^2.2.1"
- "npm i hjson@^3.1.2"
- "npm i ini@^1.3.5"
- "npm i js-yaml@^3.12.0"
- "npm i json5@^2.1.0"
- "npm run build"
- "nyc npm test"
after_success:
- npm install coveralls@~3.0.0 --global
- nyc report --reporter=text-lcov | coveralls
before_deploy:
- npm run clean
- "npm run build:prod"
os:
- linux
- osx
stages:
- lint
- test
- deploy
jobs:
include:
- node_js: lts/*
os: linux
script:
- npm run lint
stage: lint
- stage: test
- deploy:
skip_cleanup: true
provider: npm
email: arylo.open+npm@gmail.com
api_key: "${NPM_TOKEN}"
"on":
branch: master
node_js: lts/*
os: linux
script: skip
stage: deploy