Skip to content

Commit

Permalink
fix(workspace): fix CI build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Jun 24, 2020
1 parent 25d06fe commit 4a74c53
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
language: node_js
node_js:
- '10'
sudo: required
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install codecov -g
- npm ci --ignore-scripts
script:
# run build script specified in package.json
- npm run ci
# call script for deploying of produced artifacts
- bash ./.travis-deploy.sh
after_success:
- codecov
language: node_js
node_js:
- '10'
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- $HOME/.npm
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install codecov -g
- npm ci --ignore-scripts
script:
# run build script specified in package.json
- npm run ci
# call script for deploying of produced artifacts
- bash ./.travis-deploy.sh
after_success:
- codecov

0 comments on commit 4a74c53

Please sign in to comment.