and another one
[friendica.git/.git] / .travis.yml
index 95333b6..4ea3ac7 100644 (file)
@@ -11,7 +11,7 @@ services:
  - 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
@@ -24,4 +24,8 @@ before_script:
  - 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)