Skip to content

Commit

Permalink
fix(travis): fix travis jobs;
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Feb 16, 2020
1 parent 3d9cf92 commit 31382fb
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
os: linux
dist: trusty

language: node_js
node_js: 12
Expand All @@ -7,25 +8,16 @@ cache:
yarn: true

script:
- npm run test
- yarn lint
- yarn build
- yarn test

after_success:
- npm run push-codacy-coverage
after_script:
- yarn add -D codacy-coverage
- cat ./coverage/lcov.info | codacy-coverage

jobs:
include:
- stage: test
script:
- yarn lint
- yarn build
- yarn test
after_script:
- yarn add -D codacy-coverage
- cat ./coverage/lcov.info | codacy-coverage
deploy:
skip_cleanup: true
provider: script
script: yarn semantic-release

- stage: release semantic-release
script: skip
deploy:
skip_cleanup: true
provider: script
script: yarn semantic-release

0 comments on commit 31382fb

Please # to comment.