mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12962] Add setup-phantomjs-server.sh
PHPBB3-12962
This commit is contained in:
parent
6de352f7da
commit
8d0933ca4b
1 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,8 @@ install:
|
|||
|
||||
before_script:
|
||||
- travis/setup-database.sh $DB $TRAVIS_PHP_VERSION
|
||||
- phantomjs --webdriver=8910
|
||||
- pidof phantomjs || nohup phantomjs --webserver=8910 > /dev/null
|
||||
- sleep 3
|
||||
|
||||
script:
|
||||
- travis/phing-sniff.sh $DB $TRAVIS_PHP_VERSION
|
||||
|
@ -43,4 +44,4 @@ script:
|
|||
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./
|
||||
- phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml
|
||||
- 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"
|
||||
|
||||
- kill -9 `pidof phantomjs`
|
||||
|
|
Loading…
Add table
Reference in a new issue