forked from webpack/webpack-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (46 loc) · 966 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
sudo: false
notifications:
email: false
language: node_js
node_js:
- "10"
- "8"
- "7"
- "6"
cache:
directories:
- ~/.npm
matrix:
include:
- os: linux
node_js: "stable"
env: JOB_PART=lint
- os: linux
node_js: "stable"
env: JOB_PART=integration
- os: linux
node_js: "10"
env: JOB_PART=integration
- os: linux
node_js: "8"
env: JOB_PART=integration
- os: linux
node_js: "7"
env: JOB_PART=integration
- os: linux
node_js: "6"
env: JOB_PART=integration
before_install:
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
install:
- npm ci
- npm install -g codecov
- npm install -g eslint
- npm install -g greenkeeper-lockfile@2
- lerna bootstrap
before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload
jobs:
include:
- stage: commit lint
script: commitlint-travis