Skip to content

Commit

Permalink
added travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dopecodez committed Sep 14, 2020
1 parent 047ab71 commit 5b6aa75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
env:
global:
- CC_TEST_REPORTER_ID=a923709ec7256472036c1a83f0ed443cd7439bc237ac9e1cb8305665c24a7a34
language: node_js
node_js:
- '13'
- '12'
- '10'
before_script:
- npm i -g nyc
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- nyc --reporter=lcov npm run test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 comments on commit 5b6aa75

Please sign in to comment.