mirror of https://github.com/Seich/Beau.git
Testing Travis CI as an alternative to Circle.
This commit is contained in:
parent
9ba3027017
commit
1f5f494d32
|
|
@ -0,0 +1,15 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "8.9.3"
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
- npm install -g codeclimate-test-reporter prettier
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- prettier "./**/*.js" -l
|
||||||
|
- npm run test:coverage
|
||||||
|
- codeclimate-test-reporter < ./coverage/lcov.info
|
||||||
|
|
||||||
|
script:
|
||||||
|
- npm test
|
||||||
12
circle.yml
12
circle.yml
|
|
@ -1,12 +0,0 @@
|
||||||
machine:
|
|
||||||
node:
|
|
||||||
version: 8.9.3
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
post:
|
|
||||||
- npm install -g codeclimate-test-reporter
|
|
||||||
|
|
||||||
test:
|
|
||||||
pre:
|
|
||||||
- npm run test:coverage
|
|
||||||
- codeclimate-test-reporter < ./coverage/lcov.info
|
|
||||||
Loading…
Reference in New Issue