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

[travis] various fixes #1601

Merged
merged 6 commits into from
Jan 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://raw.githubusercontent.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