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