aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 18 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 67eec990..454de1ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,10 @@ cache:
13 - testrun/testing_server-2.1 13 - testrun/testing_server-2.1
14 - testrun/binary-samples 14 - testrun/binary-samples
15 15
16smoke_script: &smoke_script
17 - ./makedist 3.0.0
18 - ./smoke_test.sh luarocks-3.0.0.tar.gz
19
16unit_script: &unit_script 20unit_script: &unit_script
17 - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" 21 - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis"
18 - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" 22 - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full"
@@ -21,12 +25,24 @@ integration_script: &integration_script
21 - lua -v 25 - lua -v
22 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then shellcheck ./configure; fi 26 - if [ "$TRAVIS_OS_NAME" = "linux" ]; then shellcheck ./configure; fi
23 - ./configure --with-lua=lua_install 27 - ./configure --with-lua=lua_install
24 - ./makedist dev 28 - ./makedist 3.0.0
25 - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" 29 - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis"
26 - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" 30 - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full"
27 31
28jobs: 32jobs:
29 include: 33 include:
34 # Smoke tests
35 - stage: smoke
36 script: *smoke_script
37 os: linux
38 env:
39 - LUA="lua=5.3"
40 - stage: smoke
41 script: *smoke_script
42 os: osx
43 language: generic
44 env:
45 - LUA="luajit=2.1"
30 # Unit tests for linux 46 # Unit tests for linux
31 - stage: unit 47 - stage: unit
32 script: *unit_script 48 script: *unit_script