diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index aca8460a..0a520958 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 | ||
16 | smoke_script: &smoke_script | ||
17 | - ./makedist 3.1.2 | ||
18 | - ./smoke_test.sh luarocks-3.1.2.tar.gz | ||
19 | |||
16 | unit_script: &unit_script | 20 | unit_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.1.2 |
25 | - busted -o gtest --exclude-tags=gpg,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=gpg,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 | ||
28 | jobs: | 32 | jobs: |
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 on Linux | 47 | - stage: Unit on Linux |
32 | script: *unit_script | 48 | script: *unit_script |