Skip to content

Commit

Permalink
Update test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Sep 4, 2017
1 parent 33addce commit 72ef0bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: php
sudo: required
dist: precise

matrix:
include:
- php: 5.4
- php: 5.5
env: DB=none;NOTESTS=1
- php: 5.4
env: DB=mysqli #myisam
Expand Down Expand Up @@ -56,5 +58,5 @@ before_script:
script:
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME $NOTESTS; fi"
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS; fi"
- sh -c "if [ '$EPV' != '0' ] && [ '$NOTESTS' = '1' ]; then phpBB/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
- sh -c "if [ '$EPV' != '0' -a '$NOTESTS' = '1' ]; then phpBB/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
- sh -c "if [ '$NOTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php; fi"
3 changes: 2 additions & 1 deletion travis/prepare-epv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ NOTESTS=$1
if [ "$NOTESTS" == "1" ]
then
cd phpBB
composer require phpbb/epv:dev-master --dev --no-interaction
composer remove sami/sami --dev --no-interaction
composer require phpbb/epv:dev-master --dev --no-interaction --ignore-platform-reqs
cd ../
fi

0 comments on commit 72ef0bb

Please sign in to comment.