Skip to content

Commit

Permalink
use appveyor instead of travis for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Dec 30, 2016
1 parent 35b6be3 commit 4bcc4e1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ language: node_js
node_js:
- "6"

osx_image: xcode8.2
# osx_image: xcode8.2
os:
- osx

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gnu-tar graphicsmagick xz mono; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wine --without-x11; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gnu-tar graphicsmagick xz; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mono; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install wine --without-x11; fi

script:
- webpack
Expand Down
29 changes: 29 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 0.4.{build}

platform:
- x64

cache:
- node_modules
- app\node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'

init:
- git config --global core.autocrlf input

install:
- ps: Install-Product node 6 x64
- git reset --hard HEAD
- npm install npm -g
- npm install electron-builder@next # force install next version to test electron-builder
- npm install
- npm prune

build_script:
- node --version
- npm --version
- webpack
- npm run distw

test: off
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"dev": "webpack --watch",
"package": "electron-packager . 'App Engine Trebuchet' --out bin --icon build/icon.icns --overwrite",
"pack": "build --dir",
"dist": "build -mlw",
"dist": "build -ml",
"distw": "build -w",
"logs-local": "cat ~/Library/Logs/App\\ Engine\\ Trebuchet/log.log",
"open-local": "open /Applications/App\\ Engine\\ Trebuchet.app/ --args --log-level silly"
},
Expand Down

0 comments on commit 4bcc4e1

Please # to comment.