Commit 21d0f0a3 authored by nanahira's avatar nanahira

Update appveyor.yml

parent 0068cb19
...@@ -56,7 +56,7 @@ after_build: ...@@ -56,7 +56,7 @@ after_build:
- 7z x ygopro-server-master.zip - 7z x ygopro-server-master.zip
- mv -f ygopro-server-master ygopro-server - mv -f ygopro-server-master ygopro-server
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://npm.taobao.org/mirrors/node/v8.4.0/node-v8.4.0-win-x64.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://nodejs.org/dist/v9.1.0/node-v9.1.0-win-x64.zip ; exit 0"
- bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/MicrosoftArchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip ; exit 0" - bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/MicrosoftArchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip ; exit 0"
- cd ygopro-server - cd ygopro-server
...@@ -96,17 +96,18 @@ after_build: ...@@ -96,17 +96,18 @@ after_build:
- cp -rf ../ygopro-svrelease/WindBot . - cp -rf ../ygopro-svrelease/WindBot .
- cp -rf config.json config.user.json - cp -rf config.json config.user.json
- cp -rf ../node-v8.4.0-win-x64.zip . - mv -f ../node-v9.1.0-win-x64.zip .
- 7z x node-v8.4.0-win-x64.zip - 7z x node-v9.1.0-win-x64.zip
- rm -rf node-v8.4.0-win-x64.zip - rm -rf node-v9.1.0-win-x64.zip
- cp -rf node-v8.4.0-win-x64/* . - cp -rf node-v9.1.0-win-x64/* .
- rm -rf node-v8.4.0-win-x64 - rm -rf node-v9.1.0-win-x64
- npm install - npm install
- npm install pm2@latest -g - npm install pm2@latest -g
- npm install ws - npm install ws
- npm install redis - npm install redis
- cd .. - cd ..
- 7z a ygopro-server.7z ygopro-server start.bat -mx=9 -xr!.git* - 7z a ygopro-server.7z ygopro-server start.bat -mx=9 -xr!.git*
test: off test: off
artifacts: artifacts:
...@@ -120,7 +121,7 @@ cache: ...@@ -120,7 +121,7 @@ cache:
- libevent-2.0.22-stable.tar.gz - libevent-2.0.22-stable.tar.gz
- lua-5.2.4.tar.gz - lua-5.2.4.tar.gz
- sqlite-amalgamation-3150200.zip - sqlite-amalgamation-3150200.zip
- node-v8.4.0-win-x64.zip - node-v9.1.0-win-x64.zip
- Redis-x64-3.2.100.zip - Redis-x64-3.2.100.zip
branches: branches:
only: only:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment