Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit 7cf201b

Browse files
authored
ci: add Windows to Travis CI (#248)
ci: add Windows to Travis CI
2 parents 4f2e7a5 + c30d111 commit 7cf201b

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
sudo: false
2-
31
git:
42
depth: 1
53

64
branches:
75
only:
86
- master
97

8+
os:
9+
- linux
10+
- windows
11+
1012
language: node_js
1113

1214
cache:
@@ -19,7 +21,7 @@ node_js:
1921
- '12'
2022

2123
before_install:
22-
- npm install -g npm@latest
24+
- if [[ ("$TRAVIS_OS_NAME" == "linux") ]]; then npm install -g npm@latest; fi
2325

2426
script: npm test
2527

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@
8181
"root": true,
8282
"extends": [
8383
"plugin:@wordpress/eslint-plugin/recommended"
84-
]
84+
],
85+
"rules": {
86+
"linebreak-style": 0
87+
}
8588
},
8689
"husky": {
8790
"hooks": {

0 commit comments

Comments
 (0)