Skip to content

Commit f80d6c6

Browse files
authored
Merge pull request #155 from curbengh/travis-windows
ci(travis): add Windows
2 parents af3a386 + ceb046c commit f80d6c6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
language: node_js
1+
os:
2+
- linux
3+
- windows
24

3-
sudo: false
5+
language: node_js
46

57
cache:
6-
apt: true
7-
directories:
8-
- node_modules
8+
npm: true
99

1010
node_js:
1111
- "8"
@@ -14,7 +14,9 @@ node_js:
1414
- "13"
1515

1616
script:
17-
- npm run eslint
17+
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
18+
npm run eslint;
19+
fi
1820
- npm run test-cov
1921

2022
after_script:

0 commit comments

Comments
 (0)