|
1 | 1 | language: php
|
2 | 2 |
|
3 | 3 | php:
|
4 |
| - - 5.4 |
5 |
| - - 5.6 |
6 |
| - - 7.0 |
7 |
| - - 7.1 |
| 4 | + - 5.4 |
| 5 | + - 5.6 |
| 6 | + - 7.0 |
| 7 | + - 7.1 |
8 | 8 |
|
9 | 9 | env:
|
10 |
| - - VIRTUOSO=6.1.7 |
11 |
| - - VIRTUOSO=7.1.0 |
12 |
| - - VIRTUOSO=7.2.4.2 |
| 10 | + - VIRTUOSO=6.1.7 |
| 11 | + - VIRTUOSO=7.1.0 |
| 12 | + - VIRTUOSO=7.2.4.2 |
13 | 13 |
|
14 | 14 | matrix:
|
15 |
| - fast_finish: true |
16 |
| - include: |
17 |
| - - php: 5.4 |
18 |
| - env: VIRTUOSO=6.1.4 |
19 |
| - - php: 5.4 |
20 |
| - env: VIRTUOSO=6.1.6 |
21 |
| - - php: 5.4 |
22 |
| - env: VIRTUOSO=7.2.0 |
23 |
| - allow_failures: |
24 |
| - - php: 7.0 |
25 |
| - - php: 7.1 |
| 15 | + fast_finish: true |
| 16 | + include: |
| 17 | + - php: 5.4 |
| 18 | + env: VIRTUOSO=6.1.4 |
| 19 | + - php: 5.4 |
| 20 | + env: VIRTUOSO=6.1.6 |
| 21 | + - php: 5.4 |
| 22 | + env: VIRTUOSO=7.2.0 |
| 23 | + allow_failures: |
| 24 | + - php: 7.0 |
| 25 | + - php: 7.1 |
26 | 26 |
|
27 | 27 | cache:
|
28 | 28 | directories:
|
29 |
| - - $HOME/.composer/cache |
30 |
| - - virtuoso-opensource |
| 29 | + - $HOME/.composer/cache |
| 30 | + - virtuoso-opensource |
31 | 31 |
|
32 | 32 | sudo: true
|
33 | 33 |
|
34 | 34 | services:
|
35 |
| - - mysql |
| 35 | + - mysql |
36 | 36 |
|
37 | 37 | before_install:
|
38 |
| - - bash ./application/scripts/travis/install-extensions.sh |
39 |
| - - bash ./application/scripts/travis/install-services.sh |
40 |
| - - sudo apt-get -qq update |
41 |
| - - sudo apt-get install -y raptor2-utils |
42 |
| - - phpenv config-rm xdebug.ini |
43 |
| - - mysql -e 'CREATE DATABASE ontowiki_TEST;' |
| 38 | + - bash ./application/scripts/travis/install-extensions.sh |
| 39 | + - bash ./application/scripts/travis/install-services.sh |
| 40 | + - sudo apt-get -qq update |
| 41 | + - sudo apt-get install -y raptor2-utils |
| 42 | + - phpenv config-rm xdebug.ini |
| 43 | + - mysql -e 'CREATE DATABASE ontowiki_TEST;' |
44 | 44 |
|
45 | 45 | install:
|
46 |
| - - travis_retry composer install --no-interaction |
| 46 | + - travis_retry composer install --no-interaction |
47 | 47 |
|
48 | 48 | before_script:
|
49 |
| - - cp ./application/tests/config.ini.dist.travis ./application/tests/config.ini |
50 |
| - - make directories |
| 49 | + - cp ./application/tests/config.ini.dist.travis ./application/tests/config.ini |
| 50 | + - make directories |
51 | 51 |
|
52 | 52 | script:
|
53 |
| - - vendor/bin/phpunit --testsuite "OntoWiki Unit Tests" |
54 |
| - - EF_STORE_ADAPTER=zenddb vendor/bin/phpunit --testsuite "OntoWiki ZendDB Integration Tests" |
55 |
| - - EF_STORE_ADAPTER=virtuoso vendor/bin/phpunit --testsuite "OntoWiki Virtuoso Integration Tests" |
56 |
| - - vendor/bin/phpunit --testsuite "OntoWiki Extensions Tests" |
| 53 | + - vendor/bin/phpunit --testsuite "OntoWiki Unit Tests" |
| 54 | + - EF_STORE_ADAPTER=zenddb vendor/bin/phpunit --testsuite "OntoWiki ZendDB Integration Tests" |
| 55 | + - EF_STORE_ADAPTER=virtuoso vendor/bin/phpunit --testsuite "OntoWiki Virtuoso Integration Tests" |
| 56 | + - vendor/bin/phpunit --testsuite "OntoWiki Extensions Tests" |
0 commit comments