2018-07-15 16:43:43 +00:00
|
|
|
version: '{branch}-{build}'
|
|
|
|
|
2018-12-22 16:19:46 +00:00
|
|
|
#init:
|
|
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
|
|
|
#on_finish:
|
|
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
|
|
|
install:
|
|
|
|
- set PATH=C:\Ruby25-x64\bin;%PATH%
|
|
|
|
- cd docs
|
2019-01-04 14:02:02 +00:00
|
|
|
- gem install bundler -v 1.17.3
|
2019-01-01 22:56:28 +00:00
|
|
|
- bundle install
|
2018-12-22 16:19:46 +00:00
|
|
|
- cd ..
|
|
|
|
- cp c:\Tools\curl\bin\libcurl.dll C:\Ruby25-x64\bin
|
2019-03-27 11:49:29 +00:00
|
|
|
- choco install unitypackager
|
2018-12-22 16:19:46 +00:00
|
|
|
|
2018-08-25 16:45:29 +00:00
|
|
|
#build:
|
|
|
|
# project: Mirror/Networking.sln
|
|
|
|
# verbosity: minimal
|
2018-07-15 16:43:43 +00:00
|
|
|
|
2018-09-26 11:32:38 +00:00
|
|
|
# Do not build on tags (GitHub only)
|
|
|
|
skip_tags: true
|
|
|
|
|
2018-08-25 16:45:29 +00:00
|
|
|
build_script:
|
2018-12-22 16:19:46 +00:00
|
|
|
- cd docs
|
|
|
|
- bundle exec jekyll build
|
|
|
|
- ruby checksite.rb
|
|
|
|
- cd ..
|
2018-08-25 16:45:29 +00:00
|
|
|
|
2019-03-27 11:49:29 +00:00
|
|
|
after_build:
|
|
|
|
- UnityPackager pack Mirror.unitypackage Assets/Mirror Assets/Mirror LICENSE Assets/Mirror/LICENSE
|
|
|
|
|
2018-07-15 16:43:43 +00:00
|
|
|
artifacts:
|
2019-03-27 11:49:29 +00:00
|
|
|
- path: Mirror.unitypackage
|
2019-04-03 11:47:08 +00:00
|
|
|
- path: Assets
|
|
|
|
name: Mirror
|
2018-07-15 16:43:43 +00:00
|
|
|
|
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2019-03-19 15:44:43 +00:00
|
|
|
before_deploy:
|
2019-04-03 11:47:08 +00:00
|
|
|
- npm install -g semantic-release@15
|
2018-10-18 00:27:43 +00:00
|
|
|
|
2019-03-19 15:44:43 +00:00
|
|
|
deploy_script:
|
|
|
|
- semantic-release
|