- redis-server
- memcached
env:
- - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD= MYSQL_DATABASE=test
+ - MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_USERNAME=travis MYSQL_PASSWORD="" MYSQL_DATABASE=test
install:
- composer install
- phpenv config-add .travis/redis.ini
- phpenv config-add .travis/memcached.ini
-script: vendor/bin/phpunit --configuration tests/phpunit.xml
+script:
+ - vendor/bin/parallel-lint --exclude vendor/ --exclude view/asset/ .
+ - vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
+
+after_success: bash <(curl -s https://codecov.io/bash)