diff options
| author | George Roman <george.roman.99@gmail.com> | 2018-06-01 00:35:48 +0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-04 15:41:51 -0300 |
| commit | b7d5fa4caeddb73ef1a423665da9b562e16b8817 (patch) | |
| tree | 4368a654304f8c784beb4df2465cbb19a3a628ce | |
| parent | 4e8c650d7daac769f9af843b1578dd2521318972 (diff) | |
| download | luarocks-b7d5fa4caeddb73ef1a423665da9b562e16b8817.tar.gz luarocks-b7d5fa4caeddb73ef1a423665da9b562e16b8817.tar.bz2 luarocks-b7d5fa4caeddb73ef1a423665da9b562e16b8817.zip | |
Run unit tests before integration tests
| -rw-r--r-- | .travis.yml | 6 | ||||
| -rw-r--r-- | appveyor.yml | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 38fed55f..4a94052c 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -66,8 +66,10 @@ script: | |||
| 66 | - lua -v | 66 | - lua -v |
| 67 | - ./configure --with-lua=lua_install | 67 | - ./configure --with-lua=lua_install |
| 68 | - ./makedist scm | 68 | - ./makedist scm |
| 69 | - busted -o gtest --exclude-tags=git --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" | 69 | - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" |
| 70 | - busted -o gtest --exclude-tags=git --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" | 70 | - busted -o gtest --exclude-tags=git,integration --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" |
| 71 | - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis" | ||
| 72 | - busted -o gtest --exclude-tags=git,unit --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" | ||
| 71 | 73 | ||
| 72 | after_success: | 74 | after_success: |
| 73 | - luacov -c $TRAVIS_BUILD_DIR/testrun/luacov.config | 75 | - luacov -c $TRAVIS_BUILD_DIR/testrun/luacov.config |
diff --git a/appveyor.yml b/appveyor.yml index 3b60fd9a..0314d4c3 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -55,7 +55,8 @@ build_script: | |||
| 55 | - luarocks install cluacov 1> NUL 2> NUL | 55 | - luarocks install cluacov 1> NUL 2> NUL |
| 56 | 56 | ||
| 57 | test_script: | 57 | test_script: |
| 58 | - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES% | 58 | - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,integration -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES% |
| 59 | - busted -o gtest -v --lpath=.//?.lua --exclude-tags=ssh,unix,unit -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% %FILES% | ||
| 59 | 60 | ||
| 60 | after_test: | 61 | after_test: |
| 61 | - pip install codecov | 62 | - pip install codecov |
