From 11919d5cd61ec0dc3822ab1aea418fa4a80aa6ac Mon Sep 17 00:00:00 2001 From: Luca Zeug Date: Thu, 4 May 2017 10:14:35 +0200 Subject: [PATCH] add windows code-signing (#2194) --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f17d06128..31a1a32a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,11 +68,17 @@ install: - yarn script: - - if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi # disable macOS code-signing (production certificate) on develop branch + # disable macOS code-signing (production certificate) on develop branch + - if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi + # windows code-signing on master branch + - if [[ $GULP_PLATFORM == "win" && $TRAVIS_BRANCH == "master" ]]; then export CSC_LINK=$CSC_WIN_LINK && CSC_KEY_PASSWORD=$CSC_WIN_KEY_PASSWORD; fi + # build mist - if [[ $GULP_PLATFORM == "mac" ]]; then travis_wait 60 gulp --$GULP_PLATFORM; fi # increase timeout for slower mac builds - if [[ $GULP_PLATFORM != "mac" ]]; then gulp --$GULP_PLATFORM; fi - - if [[ $TRAVIS_BRANCH == "master" ]]; then travis_wait 60 gulp --wallet --$GULP_PLATFORM; fi # also build wallet if on master branch - - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi # prepare for integration testing + # build wallet if on master branch + - if [[ $TRAVIS_BRANCH == "master" ]]; then travis_wait 60 gulp --wallet --$GULP_PLATFORM; fi + # prepare and run integration tests + - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi - if [[ $GULP_PLATFORM != "win" ]]; then gulp test; fi after_success: