Skip to content

Commit

Permalink
ci: add Windows to Travis CI (#248)
Browse files Browse the repository at this point in the history
ci: add Windows to Travis CI
  • Loading branch information
ntwb committed May 31, 2020
1 parent 1a5238c commit 0d04ca7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions packages/stylelint-config-wordpress/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
sudo: false

git:
depth: 1

branches:
only:
- master

os:
- linux
- windows

language: node_js

cache:
Expand All @@ -19,7 +21,7 @@ node_js:
- '12'

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

script: npm test

Expand Down
5 changes: 4 additions & 1 deletion packages/stylelint-config-wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@
"root": true,
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
]
],
"rules": {
"linebreak-style": 0
}
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 0d04ca7

Please sign in to comment.