Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit d24300b

Browse files
authored
Fix CI setup (#62)
Fix CI setup
2 parents 1b2815d + 927fad1 commit d24300b

File tree

4 files changed

+12
-37
lines changed

4 files changed

+12
-37
lines changed

.travis.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
language: node_js
2-
node_js:
3-
- 'node'
4-
- 'lts/*'
5-
sudo: false
6-
cache:
7-
directories:
8-
- ~/.npm
9-
install:
10-
- npm i
11-
script:
12-
- node --version
13-
- npm --version
14-
- npm test
15-
after_success:
16-
- npm run report
2+
node_js: '12'
3+
dist: bionic
4+
jobs:
5+
include:
6+
- os: windows
7+
- os: osx
8+
- node_js: '8.0.0'
9+
- node_js: '12'
10+
cache: npm
11+
after_success: npm run report

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ MIT. See [LICENSE](LICENSE) for more details.
207207
[npm]: https://npmjs.org/package/netlify
208208
[travis-img]: https://img.shields.io/travis/netlify/js-client/master.svg
209209
[travis]: https://travis-ci.org/netlify/js-client
210-
[av-img]: https://ci.appveyor.com/api/projects/status/6lw5yqvl4plm1utb/branch/master?svg=true
211-
[av]: https://ci.appveyor.com/project/netlify/js-client
212210
[dl-img]: https://img.shields.io/npm/dm/netlify.svg
213211
[dl]: https://npmjs.org/package/netlify
214212
[coverage-img]: https://img.shields.io/coveralls/netlify/js-client/master.svg

appveyor.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"prepublishOnly": "npm run build:webpack && git push && git push --tags && gh-release",
102102
"report": "nyc report --reporter=text-lcov | coveralls",
103103
"test": "run-s test:*",
104-
"test:lint": "eslint --fix 'src/**/*.js' '*.js'",
105-
"test:prettier": "prettier --write --loglevel warn 'src/**/*.js' '*.{js,md,yml,json}'",
104+
"test:lint": "eslint --fix \"src/**/*.js\" \"*.js\"",
105+
"test:prettier": "prettier --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"",
106106
"test:deps": "dependency-check ./package.json --entry \"src/**/!(*.test).js\" --unused --missing --no-dev --no-peer",
107107
"test:ava": "nyc --reporter=lcov ava --verbose && nyc report",
108108
"watch": "nyc --reporter=lcov ava --watch",

0 commit comments

Comments
 (0)