Upgraded imagemagick and manually altered pdf to image module to handle changes....
[yaffs-website] / web / modules / contrib / entity / .travis.yml
1 language: php
2 sudo: false
3
4 php:
5   - 5.5
6   - 5.6
7   - 7
8   - hhvm
9
10 matrix:
11   allow_failures:
12     # We cannot use hhvm-nightly since that does not work in Travis CI's old
13     # Ubuntu 12.04.
14     - php: hhvm
15   # Don't wait for the allowed failures to build.
16   fast_finish: true
17
18 mysql:
19   database: entity
20   username: root
21   encoding: utf8
22
23 before_script:
24   # Remove Xdebug as we don't need it and it causes
25   # PHP Fatal error:  Maximum function nesting level of '256' reached.
26   # We also don't care if that file exists or not on PHP 7.
27   - phpenv config-rm xdebug.ini || true
28
29   # Remember the current entity test directory for later use in the Drupal
30   # installation.
31   - TESTDIR=$(pwd)
32   # Navigate out of module directory to prevent blown stack by recursive module
33   # lookup.
34   - cd ..
35
36   # Create database.
37   - mysql -e 'create database entity'
38   # Export database variable for kernel tests.
39   - export SIMPLETEST_DB=mysql://root:@127.0.0.1/entity
40   # Download Drupal 8 core.
41   - travis_retry git clone --branch 8.5.x --depth 1 http://git.drupal.org/project/drupal.git
42   - cd drupal
43   - composer self-update
44   - composer install -n
45
46   # Reference entity in build site.
47   - ln -s $TESTDIR modules/entity
48
49   # Start a web server on port 8888, run in the background; wait for
50   # initialization.
51   - nohup php -S localhost:8888 > /dev/null 2>&1 &
52
53   # Export web server URL for browser tests.
54   - export SIMPLETEST_BASE_URL=http://localhost:8888
55
56 script:
57   # Run the PHPUnit tests which also include the kernel tests.
58   - ./vendor/phpunit/phpunit/phpunit -c ./core/phpunit.xml.dist --verbose ./modules/entity