Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Splitting wallet from mist building (#4142)
Browse files Browse the repository at this point in the history
* Splitting wallet from mist building

* Always codesign on travis

* Tentative fix for shell syntax

* Tentative fix for shell syntax (2)
  • Loading branch information
evertonfraga authored Nov 13, 2018
1 parent 7ac7ec3 commit cf04eb5
Showing 1 changed file with 51 additions and 19 deletions.
70 changes: 51 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ sudo: required

matrix:
include:
# LINUX
# LINUX, MIST
- os: linux
dist: trusty
env:
- PRODUCT=mist
- GULP_PLATFORM=linux
addons:
artifacts:
paths:
- $( ls dist_{mist,wallet}/release/* | tr "\n" ":" )
- $( ls dist_mist/release/* | tr "\n" ":" )
apt:
packages:
- icnsutils
Expand All @@ -29,46 +30,77 @@ matrix:
before_install:
# prepare integration tests
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
after_failure:
- cat ~/Library/Application\ Support/Mist/logs/all.*
after_failure:
- cat ~/.config/Mist/logs/all.*


# LINUX, WALLET
- os: linux
dist: trusty
env:
- PRODUCT=wallet
- GULP_PLATFORM=linux
addons:
artifacts:
paths:
- $( ls dist_wallet/release/* | tr "\n" ":" )
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib
after_failure:
- cat ~/.config/Ethereum\ Wallet/logs/all.*

# MAC
# MAC, MIST
- os: osx
osx_image: xcode8.3
env:
- PRODUCT=mist
- GULP_PLATFORM=mac
addons:
artifacts:
paths:
- $( ls dist_{mist,wallet}/release/* | tr "\n" ":" )
- $( ls dist_mist/release/* | tr "\n" ":" )
before_install:
- npm install -g yarn
after_failure:
- cat ~/.config/Mist/logs/all.*
- cat ~/Library/Application\ Support/Mist/logs/all.*

# MAC, WALLET
- os: osx
osx_image: xcode8.3
env:
- PRODUCT=wallet
- GULP_PLATFORM=mac
addons:
artifacts:
paths:
- $( ls dist_wallet/release/* | tr "\n" ":" )
before_install:
- npm install -g yarn
after_failure:
- cat ~/Library/Application\ Support/Ethereum\ Wallet/logs/all.*

install:
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/1390e0f96162d0d70fc1e60a6b0f4f891a0e8f42/configure.sh | /bin/sh
- meteor --version

- yarn

# only code signs when on master
- if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi

script:
- yarn test:unit:once

- yarn build:mist --$GULP_PLATFORM
- yarn build:${PRODUCT} --$GULP_PLATFORM

- yarn build:wallet --$GULP_PLATFORM


- cat dist_mist/app/interface/index.html
- yarn test:e2e
- if [ $PRODUCT == "mist" ]; then
yarn test:e2e;
fi

after_success:
- if [[ $TRAVIS_BRANCH == "master" ]]; then
yarn dist:mist --$GULP_PLATFORM;
yarn dist:wallet --$GULP_PLATFORM;
- if [ $TRAVIS_BRANCH == "master" ]; then
yarn dist:${PRODUCT} --$GULP_PLATFORM;
fi

0 comments on commit cf04eb5

Please sign in to comment.