forked from AKSW/OntoWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (45 loc) · 1.27 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
language: php
php:
- 5.4
- 5.6.29
- 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.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:
- sudo apt-get -qq update
- bash ./application/scripts/travis/install-extensions.sh
- bash ./application/scripts/travis/install-services.sh
- sudo apt-get install -y raptor2-utils
- phpenv config-rm xdebug.ini
- mysql -e 'CREATE DATABASE ontowiki_TEST;'
install:
- travis_retry composer install --no-interaction
before_script:
- cp ./application/tests/config.ini.dist.travis ./application/tests/config.ini
- make directories
script:
- vendor/bin/phpunit --testsuite "OntoWiki Unit Tests"
- EF_STORE_ADAPTER=zenddb vendor/bin/phpunit --testsuite "OntoWiki ZendDB Integration Tests"
- EF_STORE_ADAPTER=virtuoso vendor/bin/phpunit --testsuite "OntoWiki Virtuoso Integration Tests"
- vendor/bin/phpunit --testsuite "OntoWiki Extensions Tests"