Updating circleci config to version 2. (#59)

This commit is contained in:
Sergio Díaz 2019-03-12 11:14:23 -06:00 committed by GitHub
parent b4e27b179b
commit f7cb19276b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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