forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (56 loc) · 1.15 KB
/
.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
52
53
54
55
56
57
58
59
60
61
62
language: node_js
node_js:
- '10'
- '8'
- '6'
- '4'
os: linux
env:
- ESLINT_VERSION=5
- ESLINT_VERSION=4
- ESLINT_VERSION=3
- ESLINT_VERSION=2
# osx backlog is often deep, so to be polite we can just hit these highlights
matrix:
include:
- env: PACKAGE=resolvers/node
node_js: 10
- env: PACKAGE=resolvers/node
node_js: 8
- env: PACKAGE=resolvers/node
node_js: 6
- env: PACKAGE=resolvers/node
node_js: 4
- env: PACKAGE=resolvers/webpack
node_js: 10
- env: PACKAGE=resolvers/webpack
node_js: 8
- env: PACKAGE=resolvers/webpack
node_js: 6
- env: PACKAGE=resolvers/webpack
node_js: 4
- os: osx
env: ESLINT_VERSION=5
node_js: 10
- os: osx
env: ESLINT_VERSION=4
node_js: 8
- os: osx
env: ESLINT_VERSION=3
node_js: 6
- os: osx
env: ESLINT_VERSION=2
node_js: 4
exclude:
- node_js: '4'
env: ESLINT_VERSION=5
before_install:
- 'nvm install-latest-npm'
- 'if [ -n "${PACKAGE-}" ]; then cd "${PACKAGE}"; fi'
install:
- npm install
- npm install --no-save eslint@$ESLINT_VERSION --ignore-scripts || true
script:
- 'npm test'
after_success:
- npm run coveralls