Skip to content

Commit

Permalink
feat: rework travis config;
Browse files Browse the repository at this point in the history
feat: return yarn.lock file;
  • Loading branch information
xobotyi committed Jan 27, 2020
1 parent faa6937 commit a4f7ff9
Show file tree
Hide file tree
Showing 6 changed files with 8,208 additions and 12,825 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -4,5 +4,4 @@
node_modules
dist
coverage
yarn.lock
package-lock.json
46 changes: 25 additions & 21 deletions .travis.yml
@@ -1,28 +1,32 @@
os: linux

language: node_js
node_js: 12

dist: trusty
sudo: true
addons:
firefox: latest
chrome: stable

matrix:
fast_finish: true

cache:
yarn: true

before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

script:
- yarn
- yarn lint
- yarn build
- yarn test
jobs:
include:
- stage: test
addons:
firefox: latest
chrome: stable
dist: trusty
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- yarn lint
- yarn build
- yarn test
after_script:
- yarn add -D codacy-coverage
- cat ./coverage/lcov.info | codacy-coverage

after_success:
- yarn add -D codacy-coverage && cat ./coverage/lcov.info | codacy-coverage
- npx semantic-release
- stage: release semantic-release
script: skip
deploy:
skip_cleanup: true
provider: script
script: yarn semantic-release

0 comments on commit a4f7ff9

Please sign in to comment.