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