diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2020-04-21 21:14:16 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-04-21 21:20:19 -0300 |
commit | be97d188a22eb39ea1511fc25194d30a649a7c7f (patch) | |
tree | 6ab51c659e74c89bbd1c80dc5f6ea91e85a11310 /.travis.yml | |
parent | af03c342789dce9799af2f41fda42f7d36467b85 (diff) | |
download | luarocks-be97d188a22eb39ea1511fc25194d30a649a7c7f.tar.gz luarocks-be97d188a22eb39ea1511fc25194d30a649a7c7f.tar.bz2 luarocks-be97d188a22eb39ea1511fc25194d30a649a7c7f.zip |
use busted-htest
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index aa81ff7f..f5b6bb37 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -19,8 +19,8 @@ smoke_script: &smoke_script | |||
19 | - ./smoke_test.sh luarocks-$BRANCH.tar.gz | 19 | - ./smoke_test.sh luarocks-$BRANCH.tar.gz |
20 | 20 | ||
21 | unit_script: &unit_script | 21 | unit_script: &unit_script |
22 | - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" | 22 | - busted -o htest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" |
23 | - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" | 23 | - busted -o htest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" |
24 | 24 | ||
25 | integration_script: &integration_script | 25 | integration_script: &integration_script |
26 | - lua -v | 26 | - lua -v |
@@ -28,8 +28,8 @@ integration_script: &integration_script | |||
28 | - ./configure --with-lua=lua_install | 28 | - ./configure --with-lua=lua_install |
29 | - ./makedist dev | 29 | - ./makedist dev |
30 | - ./smoke_test.sh luarocks-dev.tar.gz | 30 | - ./smoke_test.sh luarocks-dev.tar.gz |
31 | - busted -o gtest --exclude-tags=gpg,git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" | 31 | - busted -o htest --exclude-tags=gpg,git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" |
32 | - busted -o gtest --exclude-tags=gpg,git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" | 32 | - busted -o htest --exclude-tags=gpg,git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" |
33 | 33 | ||
34 | jobs: | 34 | jobs: |
35 | include: | 35 | include: |
@@ -148,6 +148,7 @@ before_install: | |||
148 | install: | 148 | install: |
149 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi | 149 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi |
150 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install cluacov; fi | 150 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install cluacov; fi |
151 | - luarocks install busted-htest | ||
151 | 152 | ||
152 | after_success: | 153 | after_success: |
153 | - luacov -c $TRAVIS_BUILD_DIR/testrun/luacov.config | 154 | - luacov -c $TRAVIS_BUILD_DIR/testrun/luacov.config |