Skip to content

Commit

Permalink
chore(coverage): Add coveralls to travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Etiene committed Jan 31, 2016
1 parent 362444b commit 5e0db1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Expand Up @@ -39,16 +39,21 @@ before_install:
- source .travis/setenv_lua.sh

install:
- luarocks install luacov
- luarocks install luacov-coveralls
- luarocks make rockspecs/sailor-current-1.rockspec

before_script:
- source .travis/setdatabases.sh

script:
- cd test/dev-app
- if [ "$SERVER" != "openresty" ]; then sailor test --verbose; fi
- if [ "$SERVER" != "openresty" ]; then sailor test --verbose --coverage; fi
- if [ "$SERVER" == "openresty" ]; then sailor test --resty; fi

after_success:
- luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install

notifications:
email:
on_success: change
Expand Down

0 comments on commit 5e0db1a

Please sign in to comment.