]> git.mxchange.org Git - friendica.git/blobdiff - .travis.yml
Fixed fatal error
[friendica.git] / .travis.yml
index a241dff0fe365bc97401d07784a8cc130f61d127..c3d0092015affe22ab3d5784ab3409448319dd9a 100644 (file)
@@ -19,7 +19,13 @@ before_script:
  - cp config/local-sample.config.php config/local.config.php
  - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
  - mysql -utravis test < database.sql
- - echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- - echo "apc.enable_cli = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
+ - pecl channel-update pecl.php.net
+ - pecl config-set preferred_state beta
+ - phpenv config-add .travis/redis.ini
+ - phpenv config-add .travis/memcached.ini
+
+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)