Skip to content

Commit

Permalink
ci: add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jul 10, 2020
1 parent 1d92718 commit 67dbafd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: node_js
node_js:
- '10'

before_install:
- npm install -g yarn

before_script:
- 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

after_script:
- ./cc-test-reporter format-coverage -t lcov ./coverage/lcov.info
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

install:
- yarn cache clean
- yarn

script:
- yarn build
- yarn test:report

deploy:
provider: script
skip_cleanup: true
script:
- yarn release

0 comments on commit 67dbafd

Please sign in to comment.