修复单元测试

This commit is contained in:
7IN0SAN9
2016-03-24 15:27:32 +08:00
parent 5a73a0b5ea
commit 353ba79f8c
9 changed files with 105 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ before_install:
- psql -c 'create database test;' -U postgres
install:
- ./thinkphp/tests/script/install.sh
- ./tests/script/install.sh
script:
## LINT
@@ -43,7 +43,7 @@ script:
## PHPLOC
- vendor/bin/phploc --exclude vendor thinkphp
## PHPUNIT
- vendor/bin/phpunit --coverage-clover=coverage.xml --configuration=thinkphp/phpunit.xml
- vendor/bin/phpunit --coverage-clover=coverage.xml --configuration=phpunit.xml
after_success:
- bash <(curl -s https://codecov.io/bash)