File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ tests / export-ignore
2+ travis / export-ignore
3+ .travis.yml export-ignore
4+ .gitignore export-ignore
5+ .gitattributes export-ignore
6+ phpunit.xml. * export-ignore
7+ composer.lock export-ignore
Original file line number Diff line number Diff line change 3131 - EXTNAME="phpbb/googleanalytics" # CHANGE name of the extension HERE
3232 - SNIFF="1" # Should we run code sniffer on your code?
3333 - IMAGE_ICC="1" # Should we run icc profile sniffer on your images?
34+ - EPV="1" # Should we run EPV (Extension Pre Validator) on your code?
3435 - PHPBB_BRANCH="develop-ascraeus"
3536
3637branches :
@@ -40,6 +41,7 @@ branches:
4041 - /^develop-.*$/
4142
4243install :
44+ - composer install --dev --no-interaction --prefer-source
4345 - travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
4446 - cd ../../phpBB3
4547 - travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
@@ -52,3 +54,4 @@ script:
5254 - sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
5355 - sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
5456 - phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/travis/phpunit-$DB-travis.xml --bootstrap ./tests/bootstrap.php
57+ - sh -c "if [ '$EPV' != '0' ] && [ '$TRAVIS_PHP_VERSION' = '5.5' ] && [ '$DB' = 'mysqli' ]; then phpBB/ext/$EXTNAME/vendor/bin/EPV.php run --dir='phpBB/ext/$EXTNAME/'; fi"
Original file line number Diff line number Diff line change 3838 "php" : " >=5.3.3" ,
3939 "composer/installers" : " ~1.0"
4040 },
41+ "require-dev" : {
42+ "phpbb/epv" : " dev-master"
43+ },
4144 "extra" : {
4245 "display-name" : " Google Analytics" ,
4346 "soft-require" : {
You can’t perform that action at this time.
0 commit comments