Skip to content

Commit

Permalink
added appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
aidatorajiro committed Apr 4, 2018
1 parent fee5680 commit 9f2849f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ install:
script:
- npm run lint
before_deploy:
- brew update
- brew install wine
- wine --version
- brew install makensis
- npm run build:osx
deploy:
provider: releases
Expand Down
20 changes: 20 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
image: Visual Studio 2017
environment:
matrix:
- PYTHON: C:/Python27-x64
cache:
- node_modules
install:
- ps: Install-Product node 9
- npm install
test_script:
- npm run lint
platform: x64
before_deploy:
- npm run build:win
deploy:
- provider: GitHub
artifact: dist/Memgame-win32-x64.zip
on:
appveyor_repo_tag: true

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "electron .",
"lint": "standard",
"pack:osx": "rm -rf ./dist/Memgame-darwin-x64 && electron-packager . \"Memgame\" --platform=darwin --arch=x64 --version=1.7.9 --no-prune --out=\"dist\"",
"pack:win": "rm -rf ./dist/Memgame-win32-ia32 && electron-packager . \"Memgame\" --platform=win32 --arch=ia32 --version=1.7.9 --no-prune --out=\"dist\"",
"pack:win": "rm -rf ./dist/Memgame-win32-x64 && electron-packager . \"Memgame\" --platform=win32 --arch=x64 --version=1.7.9 --no-prune --out=\"dist\"",
"build:osx": "npm run pack:osx && zip -r \"dist/Memgame-darwin-x64.zip\" \"dist/Memgame-darwin-x64\"",
"build:win": "npm run pack:win && zip -r \"dist/Memgame-win32-ia32.zip\" \"dist/Memgame-win32-ia32\""
},
Expand Down

0 comments on commit 9f2849f

Please sign in to comment.