Commit 2c70d842 authored by Max Gfeller's avatar Max Gfeller

Define composer test script

parent a9d8a52b
...@@ -19,7 +19,7 @@ before_script: ...@@ -19,7 +19,7 @@ before_script:
- bash -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != 'hhvm-nightly' ] && [ $TRAVIS_PHP_VERSION != '5.3' ]; then printf '\n\n\n\n' | pecl install pecl_http-1.7.6; fi" - bash -c "if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != 'hhvm-nightly' ] && [ $TRAVIS_PHP_VERSION != '5.3' ]; then printf '\n\n\n\n' | pecl install pecl_http-1.7.6; fi"
- composer require --prefer-source --dev symfony/event-dispatcher:${SYMFONY_VERSION} - composer require --prefer-source --dev symfony/event-dispatcher:${SYMFONY_VERSION}
script: vendor/bin/phpunit -c phpunit.xml.travis -v script: composer test
after_script: vendor/bin/coveralls -v after_script: vendor/bin/coveralls -v
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
"dev-develop": "3.3.x-dev" "dev-develop": "3.3.x-dev"
} }
}, },
"scripts": {
"test": "phpunit -c phpunit.xml.travis -v"
},
"autoload": { "autoload": {
"psr-0": { "Solarium\\": "library/" } "psr-0": { "Solarium\\": "library/" }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment