aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--appveyor.yml34
2 files changed, 22 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml
index 02bdb6c9..4962f290 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,8 +55,8 @@ script:
55 - busted -Xhelper travis,env=full --verbose 55 - busted -Xhelper travis,env=full --verbose
56 56
57after_success: 57after_success:
58 - luacov-coveralls -c $TRAVIS_BUILD_DIR/test/luacov.config --exclude $TRAVIS_BUILD_DIR/test/
59 - luacov -c $TRAVIS_BUILD_DIR/test/luacov.config 58 - luacov -c $TRAVIS_BUILD_DIR/test/luacov.config
59 - cd $TRAVIS_BUILD_DIR/test/ && bash <(curl -s https://codecov.io/bash)
60 - grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/test/luacov.report.out 60 - grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/test/luacov.report.out
61 61
62notifications: 62notifications:
diff --git a/appveyor.yml b/appveyor.yml
index d7fc7cc2..66a12896 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,28 +3,36 @@ version: 2.2.1.{build}-test
3shallow_clone: true 3shallow_clone: true
4 4
5environment: 5environment:
6 LUAROCKS_VER: 2.2.1 6 LUAROCKS_VER: 2.3.0
7 7
8 matrix: 8 matrix:
9 - LUA_VER: 5.1.5 9 - LUA: "lua 5.1"
10 - LUA_VER: 5.2.4 10 - LUA: "lua 5.2"
11 - LUA_VER: 5.3.1 11 - LUA: "lua 5.3"
12 - LJ_VER: 2.0.4 12 - LUA: "luajit 2.0"
13 - LJ_VER: 2.1 13 - LUA: "luajit 2.1"
14
14 15
15init: 16init:
16# Setup Lua development/build environment 17# Setup Lua development/build environment
17# Make VS 2015 command line tools available 18# Make VS 2015 command line tools available
18- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform% 19- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
19 20
20install: 21before_build:
21# Setup Lua development/build environment 22 - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH
22- call .appveyor\install.bat 23 - pip install hererocks
24 - hererocks env --%LUA% -rlatest
25 - call env\bin\activate
23 26
24build_script: 27build_script:
25- call .appveyor\build.bat 28 - luarocks install busted 1> NUL 2> NUL
26 29
27test_script: 30test_script:
28- echo "Testing..." 31 - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor
29- cd test 32
30- call testing.bat 33after_test:
34 - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32)
35 - luarocks install luacov
36 - pip install codecov
37 - luacov -c test/luacov.config
38 - cd test && codecov \ No newline at end of file