-
-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1846 from MyCryptoHQ/hotfix-may-24
Release 1.0.1
- Loading branch information
Showing
5 changed files
with
93 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,65 @@ | ||
dist: trusty | ||
sudo: required | ||
|
||
language: node_js | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode9.3 | ||
env: | ||
- ELECTRON_CACHE=$HOME/.cache/electron | ||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder | ||
|
||
- os: linux | ||
dist: trusty | ||
sudo: required | ||
services: docker | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
- $HOME/.cache/electron | ||
- $HOME/.cache/electron-builder | ||
|
||
services: | ||
- docker | ||
before_cache: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
rm -rf $HOME/.cache/electron-builder/wine | ||
fi | ||
before_install: | ||
- export CHROME_BIN=chromium-browser | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
# uncomment once integration tests are included in CI | ||
# - docker pull dternyak/eth-priv-to-addr:latest | ||
- sudo apt-get install libusb-1.0 | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
export CHROME_BIN=chromium-browser | ||
export DISPLAY=:99.0 | ||
sh -e /etc/init.d/xvfb start | ||
# uncomment once integration tests are included in CI | ||
# docker pull dternyak/eth-priv-to-addr:latest | ||
sudo apt-get install libusb-1.0 | ||
fi | ||
install: | ||
- npm install --silent | ||
- yarn --silent | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
script: npm run prettier:diff | ||
- stage: test | ||
script: npm run test:coverage -- --maxWorkers=2 && npm run report-coverage | ||
- stage: test | ||
script: npm run tslint && npm run tscheck && npm run freezer && npm run freezer:validate | ||
script: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
npm run prettier:diff | ||
npm run test:coverage -- --maxWorkers=2 | ||
npm run report-coverage | ||
npm run tslint | ||
npm run tscheck | ||
npm run freezer | ||
npm run freezer:validate | ||
fi | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
npm run build:electron | ||
ls -la dist/electron-builds | ||
fi | ||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: never | ||
on_failure: never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters