Last active
June 28, 2017 19:30
-
-
Save weedgrease/75d7f73982652a404487da51e701e667 to your computer and use it in GitHub Desktop.
Ember Electron Configs
This file contains hidden or 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
sudo: required | |
dist: trusty | |
language: node_js | |
osx_image: xcode8.3 | |
group: deprecated-2017Q2 | |
matrix: | |
include: | |
- os: linux | |
node_js: 6 | |
addons: | |
apt: | |
packages: | |
- xvfb | |
- graphicsmagick | |
- rpm | |
- os: osx | |
cache: yarn | |
before_install: | |
- openssl aes-256-cbc -K <travis-encrypted-key> -iv <travis-encrypted-key> | |
-in ember-electron/resources-darwin/osxCertificate.p12.enc -out osxCertificate.p12 | |
-d | |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./ember-electron/scripts/import-signature.sh; fi | |
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install | |
graphicsmagick; fi | |
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo rm -rf /usr/local/bin/yarn; fi | |
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6 | |
- source ~/.bashrc | |
- yarn global add bower phantomjs-prebuilt node-gyp codecov | |
install: | |
- yarn | |
- bower install | |
- export DISPLAY=':99.0' | |
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
script: | |
- yarn run test | |
after_success: | |
- ./ember-electron/scripts/after-success.sh | |
env: | |
global: | |
# github token | |
secure: xxx |
This file contains hidden or 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
environment: | |
matrix: | |
- platform: x64 | |
CERT_URL: './mycert.p12' | |
CERT_PASS: | |
secure: xxx | |
CERT_FILE: | |
secure: xxx | |
REMOTE_TOKEN: | |
secure: xxx | |
image: Visual Studio 2015 | |
init: | |
- ps: Install-Product node 6 x64 | |
- ps: Import-Module C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1 | |
- yarn --version | |
- git config --global core.autocrlf true | |
- yarn config set msvs_version 2015 | |
cache: | |
- bower_components -> bower.json | |
- node_modules -> package.json | |
install: | |
- appveyor DownloadFile "https://s3-us-west-2.amazonaws.com/v8-static/GraphicsMagick-1.3.25-Q16-win64-dll.exe" | |
- 'GraphicsMagick-1.3.25-Q16-win64-dll.exe /SP /VERYSILENT /NORESTART /NOICONS /DIR=%CD%\gm' | |
- 'set PATH=%CD%\gm;%PATH%' | |
- refreshenv | |
- choco install phantomjs openssl.light | |
- set CI=true | |
- yarn global add bower | |
- yarn | |
- bower install | |
test_script: | |
- node --version | |
- yarn --version | |
- yarn run test | |
on_success: | |
- ps: echo $env:CERT_FILE | openssl base64 -A -d -out .\mycert.p12 | |
- yarn run make | |
- yarn run release:win | |
# Upload installer artifacts | |
- ps: ls .\electron-out\make\squirrel.windows\x64\* | % { Push-AppveyorArtifact $_.FullName } | |
build: off | |
version: "{build}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment