forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
83 lines (74 loc) · 1.55 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
language: node_js
node_js:
- '12'
- '10'
- '8'
- '6'
- '4'
os: linux
env:
- ESLINT_VERSION=6
- 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: 12
- 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: 12
- 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: 12
- 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
- node_js: '4'
env: ESLINT_VERSION=6
- node_js: '6'
env: ESLINT_VERSION=6
fast_finish: true
allow_failures:
# issues with TypeScript deps in this version intersection
- node_js: '4'
env: ESLINT_VERSION=4
before_install:
- 'nvm install-latest-npm'
- 'if [ -n "${PACKAGE-}" ]; then cd "${PACKAGE}"; fi'
install:
- npm install
- 'if [ -n "${ESLINT_VERSION}" ]; then ./tests/dep-time-travel.sh; fi'
script:
- 'npm test'
after_success:
- npm run coveralls