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

Commit

Permalink
[travis] various fixes (#1601)
Browse files Browse the repository at this point in the history
* various fixes

* disable code-signing on 'develop'

* fix yarn on xcode8 image

* rectify if statement

* comments

* improvement
  • Loading branch information
luclu authored and frozeman committed Jan 20, 2017
1 parent 7825db9 commit 032ea1d
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ sudo: required
branches:
only:
- develop
- travis
- master

matrix:
include:

# WINDOWS cross-built from linux
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=win
node_js: 6
addons:
apt:
packages:
Expand All @@ -35,9 +35,9 @@ matrix:
# LINUX
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=linux
node_js: 6
addons:
apt:
packages:
Expand All @@ -49,29 +49,23 @@ matrix:

# MAC
- os: osx
osx_image: xcode8.1
osx_image: xcode8 # currently xcode8.1+ doesn't support electron-builder macOS code-signing (https://github.com/electron-userland/electron-builder/issues/820#issuecomment-267777060)
node_js: 6
env:
- GULP_PLATFORM=mac
node_js: 6
before_install:
- brew update
- brew install gnu-tar libicns graphicsmagick xz
- npm install -g gulp yarn
- npm install -g yarn # macOS xcode8 image doesn't natively support yarn yet

cache:
yarn: true
directories:
- node_modules
- app/node_modules
- $HOME/.electron
- $HOME/.cache

install:
- PATH=$PATH:$HOME/.meteor && curl -L https://github.com/arunoda/travis-ci-meteor-packages/master/configure.sh | /bin/sh
- npm install -g meteor-build-client electron@1.3.5
- yarn global add gulp-cli meteor-build-client electron@1.3.5
- yarn

script:
- if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi # disable macOS code-signing (production certificate) on develop branch
- travis_wait 60 gulp mist --platform $GULP_PLATFORM

after_success:
Expand Down

0 comments on commit 032ea1d

Please sign in to comment.