Updating circleci config to version 2.

This commit is contained in:
David Diaz 2019-03-12 10:30:38 -06:00
parent b4e27b179b
commit 8baaa2c334
2 changed files with 16 additions and 12 deletions

16
.circleci/config.yml Normal file
View File

@ -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

View File

@ -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