Version 2.0.0-RC3
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -1,4 +1,3 @@
|
|||||||
# Opt into fully virtualized infrastructure
|
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
@@ -19,6 +18,8 @@ matrix:
|
|||||||
env: DB=postgres
|
env: DB=postgres
|
||||||
- php: 5.4
|
- php: 5.4
|
||||||
env: DB=sqlite3
|
env: DB=sqlite3
|
||||||
|
- php: 5.4
|
||||||
|
env: DB=mysqli;SLOWTESTS=1
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
env: DB=mysqli
|
env: DB=mysqli
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
@@ -35,17 +36,23 @@ env:
|
|||||||
- SNIFF="1" # Should we run code sniffer on your code?
|
- SNIFF="1" # Should we run code sniffer on your code?
|
||||||
- IMAGE_ICC="0" # Should we run icc profile sniffer on your images?
|
- IMAGE_ICC="0" # Should we run icc profile sniffer on your images?
|
||||||
- EPV="0" # Should we run EPV (Extension Pre Validator) on your code?
|
- EPV="0" # Should we run EPV (Extension Pre Validator) on your code?
|
||||||
- PHPBB_BRANCH="3.1.x"
|
- PHPBB_BRANCH="develop-ascraeus"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
- /^develop-.*$/
|
- /^develop-.*$/
|
||||||
- /^release-.*$/
|
|
||||||
|
before_install:
|
||||||
|
- sudo mkdir travis
|
||||||
|
- git clone "https://github.com/nickvergessen/phpbb-ext-acme-demo.git"
|
||||||
|
- sudo cp phpbb-ext-acme-demo/phpunit.xml.dist ./
|
||||||
|
- sudo cp phpbb-ext-acme-demo/travis/prepare-phpbb.sh travis
|
||||||
|
- sudo rm -rf phpbb-ext-acme-demo
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer install --dev --no-interaction --prefer-source
|
- composer install --no-interaction --prefer-source
|
||||||
- travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
|
- travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
|
||||||
- cd ../../phpBB3
|
- cd ../../phpBB3
|
||||||
- travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
|
- travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
|
||||||
@@ -58,4 +65,4 @@ script:
|
|||||||
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
|
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
|
||||||
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
|
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||||
- phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php
|
- phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php
|
||||||
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.3' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
|
- sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.3.3' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
|
||||||
|
|||||||
Reference in New Issue
Block a user