2012-03-21 22:57:29 +00:00
|
|
|
language: php
|
|
|
|
|
2014-05-26 21:41:55 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.3.3
|
|
|
|
env: DB=mysqli
|
|
|
|
- php: 5.3
|
|
|
|
env: DB=mysqli # MyISAM
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=mysqli
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=mysql
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=mariadb
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=postgres
|
|
|
|
- php: 5.4
|
|
|
|
env: DB=sqlite3
|
2015-01-24 20:10:49 +01:00
|
|
|
- php: 5.4
|
|
|
|
env: DB=mysqli;SLOWTESTS=1
|
2014-05-26 21:41:55 +02:00
|
|
|
- php: 5.5
|
|
|
|
env: DB=mysqli
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=mysqli
|
|
|
|
- php: hhvm
|
2014-05-27 18:13:01 +02:00
|
|
|
env: DB=mysqli
|
2014-05-26 21:41:55 +02:00
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
|
|
|
fast_finish: true
|
2012-03-21 22:57:29 +00:00
|
|
|
|
2013-11-22 10:23:00 +01:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2013-10-29 01:03:53 +01:00
|
|
|
install:
|
2014-05-02 19:29:30 +02:00
|
|
|
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION
|
2013-10-29 01:03:53 +01:00
|
|
|
|
|
|
|
before_script:
|
2014-05-02 16:34:01 +02:00
|
|
|
- travis/setup-database.sh $DB $TRAVIS_PHP_VERSION
|
2014-08-10 13:35:49 +02:00
|
|
|
- phantomjs --webdriver=8910 > /dev/null &
|
2013-10-29 00:44:04 +01:00
|
|
|
|
|
|
|
script:
|
2014-05-02 19:29:30 +02:00
|
|
|
- travis/phing-sniff.sh $DB $TRAVIS_PHP_VERSION
|
2014-08-09 15:06:34 +02:00
|
|
|
- travis/check-sami-parse-errors.sh $DB $TRAVIS_PHP_VERSION
|
2014-05-27 23:50:52 +02:00
|
|
|
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION
|
2014-08-07 13:58:42 +02:00
|
|
|
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./
|
2015-05-03 12:58:30 +02:00
|
|
|
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi"
|
2015-01-24 20:10:49 +01:00
|
|
|
- sh -c "if [ '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
|
|
|
|
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
|
2014-08-07 13:43:13 +02:00
|
|
|
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
|