mirror of https://github.com/Seich/Beau.git
Updating circleci config to version 2. (#59)
This commit is contained in:
parent
b4e27b179b
commit
f7cb19276b
|
|
@ -0,0 +1,16 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:8.9.3
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run test:coverage
|
||||||
|
- run: npx codeclimate-test-reporter < ./coverage/lcov.info
|
||||||
|
- run: npm test
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
test:
|
||||||
|
jobs:
|
||||||
|
- 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