Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit d9fce8d

Browse files
committed
fix(ci): run ci only once on PR
1 parent 2c02ec1 commit d9fce8d

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
language: node_js
22
node_js:
3-
- 9
4-
install:
5-
# Use npm 5.7.x since it has introduced `npm ci`
6-
- if [[ `npm -v` != 5.7* ]]; then npm install -g npm@'>=5.7.1'; fi
7-
- npm ci
3+
- 10
84
branches:
9-
except:
10-
- /^v\d+\.\d+\.\d+$/
5+
only:
6+
- master
117
script:
128
- npm run test
139
stages:

0 commit comments

Comments
 (0)