2017-07-04 16:46:31 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2017-05-23 07:03:13 +00:00
|
|
|
language: node_js
|
|
|
|
|
2017-12-11 22:11:03 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
2017-12-06 06:24:40 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2017-05-23 07:03:13 +00:00
|
|
|
before_install:
|
|
|
|
- export CHROME_BIN=chromium-browser
|
|
|
|
- export DISPLAY=:99.0
|
2017-05-23 07:14:49 +00:00
|
|
|
- sh -e /etc/init.d/xvfb start
|
2018-02-01 07:03:36 +00:00
|
|
|
# uncomment once integration tests are included in CI
|
|
|
|
# - docker pull dternyak/eth-priv-to-addr:latest
|
2018-01-12 02:57:19 +00:00
|
|
|
- sudo apt-get install libusb-1.0
|
|
|
|
|
2017-11-29 23:20:24 +00:00
|
|
|
install:
|
|
|
|
- npm install --silent
|
2017-05-23 07:14:49 +00:00
|
|
|
|
2017-12-06 06:24:40 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2018-01-01 23:51:18 +00:00
|
|
|
- stage: test
|
|
|
|
script: npm run prettier:diff
|
2017-12-06 06:24:40 +00:00
|
|
|
- stage: test
|
2018-04-06 01:51:48 +00:00
|
|
|
script: npm run test:coverage -- --maxWorkers=2 && npm run report-coverage
|
2017-12-06 06:24:40 +00:00
|
|
|
- stage: test
|
2018-02-01 07:03:36 +00:00
|
|
|
script: npm run tslint && npm run tscheck && npm run freezer && npm run freezer:validate
|
2017-12-06 06:24:40 +00:00
|
|
|
|
2017-05-23 07:14:49 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2017-12-06 06:24:40 +00:00
|
|
|
on_failure: never
|