Do not use ant on Travis
It is just additional overhead without real benefit. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
0b0e99cc02
commit
4f37569773
@ -67,7 +67,7 @@ matrix:
|
||||
before_install:
|
||||
- brew tap homebrew/php
|
||||
- brew update
|
||||
- brew install ant gettext php70 mariadb
|
||||
- brew install gettext php70 mariadb
|
||||
- brew link --force gettext
|
||||
- curl https://getcomposer.org/installer | php
|
||||
- ln -s "`pwd`/composer.phar" /usr/local/bin/composer
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$TRAVIS_COMMIT_RANGE" ] ; then
|
||||
ant lint
|
||||
find . -name '*.php' -not -path './vendor/*' | xargs -n1 -r php -l
|
||||
else
|
||||
git diff --name-only $TRAVIS_COMMIT_RANGE -- '*.php' | xargs -n1 -r php -l
|
||||
fi
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
export PHPUNIT_ARGS="--group selenium --debug"
|
||||
|
||||
ant phpunit-nocoverage
|
||||
./vendor/bin/phpunit --configuration phpunit.xml.nocoverage --group selenium --debug
|
||||
|
||||
15
test/ci-test
15
test/ci-test
@ -1,9 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
export PHPUNIT_ARGS="--exclude-group selenium"
|
||||
case "$TRAVIS_PHP_VERSION" in
|
||||
hhvm*)
|
||||
CONFIG=phpunit.xml.hhvm
|
||||
;;
|
||||
*)
|
||||
CONFIG=phpunit.xml.dist
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" = "hhvm" ] ; then
|
||||
ant phpunit-hhvm
|
||||
else
|
||||
ant phpunit
|
||||
fi
|
||||
./vendor/bin/phpunit --configuration $CONFIG --exclude-group selenium
|
||||
|
||||
Loading…
Reference in New Issue
Block a user