Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
35d9b63cee
20
.travis.yml
20
.travis.yml
@ -7,21 +7,31 @@ php:
|
||||
env:
|
||||
matrix:
|
||||
PHPUNIT_ARGS="--exclude-group selenium"
|
||||
LINT="yes"
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq ant
|
||||
before_script:
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then
|
||||
- if [[ $TRAVIS_PHP_VERSION != "hhvm" -a -z "$LINT" ]] ; then
|
||||
git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd .. ;
|
||||
phpenv config-add test/travis.php.ini ;
|
||||
pear channel-discover pear.phpunit.de ;
|
||||
pear install phpunit/PHPUnit_Selenium ;
|
||||
fi
|
||||
- composer install --dev --no-interaction
|
||||
- if [[ -z "$LINT" ]] ; then
|
||||
composer install --dev --no-interaction ;
|
||||
fi
|
||||
script:
|
||||
- ./scripts/generate-mo --quiet
|
||||
- if [[ $TRAVIS_PHP_VERSION == "hhvm" ]] ; then ant phpunit-hhvm ; else ant phpunit ; fi
|
||||
- ant lint
|
||||
- if [[ -z "$LINT" ]] ; then
|
||||
if [[ $TRAVIS_PHP_VERSION == "hhvm" ]] ; then
|
||||
ant phpunit-hhvm ;
|
||||
else
|
||||
ant phpunit ;
|
||||
fi ;
|
||||
else
|
||||
./scripts/generate-mo --quiet ;
|
||||
ant lint ;
|
||||
fi
|
||||
after_script:
|
||||
- php vendor/bin/coveralls -v
|
||||
matrix:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user