forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 815 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
language: node_js
node_js:
- 4
- 6
- 8
os: linux
env:
- ESLINT_VERSION=2
- ESLINT_VERSION=3
- ESLINT_VERSION=4
# osx backlog is often deep, so to be polite we can just hit these highlights
matrix:
include:
- os: osx
env: ESLINT_VERSION=2
node_js: 4
- os: osx
env: ESLINT_VERSION=3
node_js: 6
- os: osx
env: ESLINT_VERSION=4
node_js: 8
install:
- if [ ${TRAVIS_NODE_VERSION} == "4" ]; then
npm install -g npm@3;
fi
- npm install
- npm install eslint@$ESLINT_VERSION --ignore-scripts || true
# install all resolver deps
- "for resolver in ./resolvers/*; do cd $resolver && npm install && cd ../..; done"
script:
- "npm test"
- "for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done"
after_success:
- npm run coveralls