forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 857 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
language: node_js
# osx backlog is often deep, so to be polite we can just hit these highlights
matrix:
include:
- os: osx
env: ESLINT_VERSION=5
node_js: 14
- 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
fast_finish: true
before_install:
- 'nvm install-latest-npm'
- 'NPM_CONFIG_LEGACY_PEER_DEPS=true npm install'
- 'npm run copy-metafiles'
install:
- 'NPM_CONFIG_LEGACY_PEER_DEPS=true npm install'
- 'if [ -n "${ESLINT_VERSION}" ]; then ./tests/dep-time-travel.sh; fi'
- 'npm run pretest'
script:
- npm run tests-only
after_success:
- bash <(curl -Os https://uploader.codecov.io/latest/linux/codecov)