forked from naver/billboard.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 889 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
language: node_js
node_js:
- "10"
dist: trusty # needs Ubuntu Trusty
sudo: false # no need for virtualization.
before_install:
- npm install -g npm@latest
install:
- npm install
cache:
yarn: true
npm: true
directories:
- $HOME/.npm
stages:
- lint
- test
- release
jobs:
include:
- stage: lint
script:
- npm run lint
- stage: test
sudo: required
addons:
chrome: stable # install chrome stable.
script:
- npm run coverage
after_success:
- npm run coveralls
- stage: release
script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npm run release
on:
repo: naver/billboard.js
all_branches: true
condition: $TRAVIS_BRANCH =~ ^latest|next$
after_deploy:
- bash ./config/deploy.sh