summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-20 09:26:56 +0800
committerTitanSnow <[email protected]>2017-05-20 09:26:56 +0800
commit4e9c6a96db592759a1fa31e5bc76cb826db1f1c9 (patch)
tree2e04a86406c02c339b1197c3786cc52260f6d0e3
parent116ab13a9badb811fcfdb82a0006d46e77ac8139 (diff)
install luacov on windows
-rw-r--r--appveyor.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 1d0dc4321..0be1330d0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,3 +1,4 @@
+version: v2.1.5.{build}
os:
- Visual Studio 2015
- Visual Studio 2017
@@ -6,6 +7,15 @@ platform:
- Win32
- Win64
+install:
+ - ps: Invoke-Webrequest 'http://luarocks.github.io/luarocks/releases/luarocks-2.4.2-win32.zip' -OutFile luarocks.zip
+ - ps: Expand-Archive luarocks.zip
+ - cmd: cd luarocks\luarocks-2.4.2-win32
+ - cmd: install.bat
+ - cmd: cd ..\..
+ - ps: Remove-Item luarocks -Recurse -Force
+ - cmd: luarocks install luacov
+
build_script:
- ps: Invoke-Expression (Get-Content scripts\get.ps1 | Out-String)
- cmd: xmake lua versioninfo