diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 3a537b88..c4803b52 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -54,13 +54,13 @@ matrix: | |||
54 | 54 | ||
55 | 55 | ||
56 | before_install: | 56 | before_install: |
57 | - if [ ! -f lua_install/bin/luarocks ]; then pip install hererocks; fi | 57 | - if [ ! -f lua_install/bin/luarocks ]; then pip2 install hererocks; fi |
58 | - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi | 58 | - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi |
59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH | 59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH |
60 | 60 | ||
61 | install: | 61 | install: |
62 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi | 62 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi |
63 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install luacov; luarocks install luacov-coveralls; fi | 63 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install cluacov; fi |
64 | 64 | ||
65 | script: | 65 | script: |
66 | - lua -v | 66 | - lua -v |
@@ -70,9 +70,9 @@ script: | |||
70 | - busted -o gtest --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" | 70 | - busted -o gtest --verbose -Xhelper "lua_dir=$PWD/lua_install,travis,env=full" |
71 | 71 | ||
72 | after_success: | 72 | after_success: |
73 | - luacov -c $TRAVIS_BUILD_DIR/test/luacov.config | 73 | - luacov -c $TRAVIS_BUILD_DIR/testrun/luacov.config |
74 | - cd $TRAVIS_BUILD_DIR/test/ && bash <(curl -s https://codecov.io/bash) | 74 | - cd $TRAVIS_BUILD_DIR/testrun/ && bash <(curl -s https://codecov.io/bash) |
75 | - grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/test/luacov.report.out | 75 | - grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/testrun/luacov.report.out |
76 | 76 | ||
77 | notifications: | 77 | notifications: |
78 | email: | 78 | email: |