diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..60703ea --- /dev/null +++ b/.circleci/config.yml @@ -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 diff --git a/circle.yml b/circle.yml deleted file mode 100644 index f7da2ba..0000000 --- a/circle.yml +++ /dev/null @@ -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