1 | # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details␊ |
2 | ␊ |
3 | sudo: false␊ |
4 | ␊ |
5 | language: php␊ |
6 | ␊ |
7 | php:␊ |
8 | - 5.3␊ |
9 | - 5.4␊ |
10 | - 5.5␊ |
11 | - 5.6␊ |
12 | - 7.0␊ |
13 | ␊ |
14 | env:␊ |
15 | - DB=MYSQL CORE_RELEASE=3.2␊ |
16 | ␊ |
17 | matrix:␊ |
18 | include:␊ |
19 | - php: 5.6␊ |
20 | env: DB=MYSQL CORE_RELEASE=3␊ |
21 | - php: 5.6␊ |
22 | env: DB=MYSQL CORE_RELEASE=3.1␊ |
23 | - php: 5.6␊ |
24 | env: DB=PGSQL CORE_RELEASE=3.2␊ |
25 | allow_failures:␊ |
26 | - php: 7.0␊ |
27 | ␊ |
28 | before_script:␊ |
29 | - composer self-update || true␊ |
30 | - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support␊ |
31 | - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss␊ |
32 | - cd ~/builds/ss␊ |
33 | - composer install␊ |
34 | ␊ |
35 | script:␊ |
36 | - vendor/bin/phpunit autotoc/tests␊ |