Skip to content

Commit

Permalink
more testing with coveralls + travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmunro committed May 16, 2017
1 parent 1cfeb7e commit fea0ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ php:
- '7.1'

# run the phpunit tests, then the selenium tests
script: cd tests/phpunit && /usr/local/bin/phpunit && cd ../selenium && sh ./runall.sh
#script: cd tests/phpunit && /usr/local/bin/phpunit && cd ../selenium && sh ./runall.sh
script: cd tests/phpunit && /usr/local/bin/phpunit && cd ../../

# the unit tests need a DB setup, the selenium tests do not
env:
Expand Down
4 changes: 2 additions & 2 deletions .travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ setup_db() {
}

# install coveralls
setup_coveralls() {
install_coveralls() {
wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
chmod +x coveralls.phar
php coveralls.phar --version
Expand All @@ -160,6 +160,6 @@ install_dovecot
selenium_config
setup_cypht
install_phpunit
install_coveralls
install_apache
bootstrap_unit_tests
setup_coveralls

0 comments on commit fea0ff8

Please sign in to comment.