This commit is contained in:
Sergio Díaz 2018-05-10 01:33:39 +00:00 committed by GitHub
commit f7f7670f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 12 deletions

15
.travis.yml Normal file
View File

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

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