Skip to content

Commit b23ea04

Browse files
authored
Merge pull request #46 from nmader/7.x-PHP_LIB-1880
7.x php lib 1880
2 parents e9859a0 + 65a5950 commit b23ea04

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: required
12
language: php
23
php:
34
- 5.3.3
@@ -23,7 +24,10 @@ before_install:
2324
- cd $HOME/drupal-*
2425
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/php_lib
2526
- drush en --yes --user=1 php_lib
27+
before_script:
28+
# Mysql might time out for long tests, increase the wait timeout.
29+
- mysql -e 'SET @@GLOBAL.wait_timeout=1200'
2630
script:
2731
- ant -buildfile sites/all/modules/php_lib/build.xml lint
2832
- $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/php_lib
29-
- drush test-run -v --uri=http://localhost:8081 "PHP Lib"
33+
- php scripts/run-tests.sh --php `phpenv which php` --url http://localhost:8081 --verbose "PHP Lib"

0 commit comments

Comments
 (0)