-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
56 lines (46 loc) · 1.19 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: php
php:
- 5.4
- 5.6
- 7.0
- 7.1
env:
- VIRTUOSO=6.1.7
- VIRTUOSO=7.0.0
- VIRTUOSO=7.2.0
matrix:
fast_finish: true
include:
- php: 5.4
env: VIRTUOSO=6.1.4
- php: 5.4
env: VIRTUOSO=6.1.6
- php: 5.4
env: VIRTUOSO=7.2.4.2
allow_failures:
- php: 7.0
- php: 7.1
- env: VIRTUOSO=7.2.4.2
cache:
directories:
- $HOME/.composer/cache
- virtuoso-opensource
sudo: true
services:
- mysql
before_install:
- bash ./tests/scripts/travis/install-extensions.sh
- bash ./tests/scripts/travis/install-services.sh
- sudo apt-get -qq update
- sudo apt-get install -y raptor2-utils
- phpenv config-rm xdebug.ini
- mysql -e 'CREATE DATABASE erfurt_TEST;'
install:
- travis_retry composer install --no-interaction
before_script:
- cp ./tests/config.ini.dist.travis ./tests/config.ini
- make directories
script:
- vendor/bin/phpunit --testsuite "Erfurt Unit Tests"
- EF_STORE_ADAPTER=zenddb vendor/bin/phpunit --testsuite "Erfurt Integration Tests"
- EF_STORE_ADAPTER=virtuoso vendor/bin/phpunit --testsuite "Erfurt Integration Tests"