This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +77
-4
lines changed Expand file tree Collapse file tree 4 files changed +77
-4
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+
3
+ php :
4
+ - 5.4
5
+ - 5.6
6
+ - 7.0
7
+ - 7.1
8
+
9
+ env :
10
+ - VIRTUOSO=6.1.7
11
+ - VIRTUOSO=7.1.0
12
+ - VIRTUOSO=7.2.4.2
13
+
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
26
+
27
+ cache :
28
+ directories :
29
+ - $HOME/.composer/cache
30
+ - virtuoso-opensource
31
+
32
+ sudo : true
33
+
34
+ services :
35
+ - mysql
36
+
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;'
44
+
45
+ install :
46
+ - travis_retry composer install --no-interaction
47
+
48
+ before_script :
49
+ - cp ./application/tests/config.ini.dist.travis ./application/tests/config.ini
50
+ - make directories
51
+
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"
Original file line number Diff line number Diff line change 4
4
5
5
This file and scripts are taken form the SemanticMediaWiki repo and only selected files where copied for running tests with virtuoso.
6
6
It is taken as of commit 721a63d3a73400300f73e0a088196a6ed0fe5afd from https://github.com/SemanticMediaWiki/SemanticMediaWiki .
7
- The unsupported services are marked with * Endabled * "No".
7
+ The unsupported services are marked with * Enabled * "No".
8
8
9
9
<table >
10
10
<tr>
11
- <th>Endabled </th>
11
+ <th>Enabled </th>
12
12
<th>Service</th>
13
13
<th>Connector</th>
14
14
<th>QueryEndPoint</th>
Original file line number Diff line number Diff line change @@ -174,10 +174,10 @@ then
174
174
175
175
sleep 15
176
176
177
- sudo /usr/local/virtuoso-opensource/bin/isql-v 1111 dba dba $BASE_PATH /scripts/travis/virtuoso-sparql-permission.sql
177
+ sudo /usr/local/virtuoso-opensource/bin/isql-v 1111 dba dba $BASE_PATH /application/ scripts/travis/virtuoso-sparql-permission.sql
178
178
179
179
# configure datasource name for ODBC connection
180
- echo " [VOS ]" | sudo tee -a /etc/odbc.ini > /dev/null
180
+ echo " [VOS_TEST ]" | sudo tee -a /etc/odbc.ini > /dev/null
181
181
echo " Driver=/usr/local/virtuoso-opensource/lib/virtodbc.so" | sudo tee -a /etc/odbc.ini > /dev/null
182
182
echo " Description=Virtuoso OpenSource Edition" | sudo tee -a /etc/odbc.ini > /dev/null
183
183
echo " Address=localhost:1111" | sudo tee -a /etc/odbc.ini > /dev/null
Original file line number Diff line number Diff line change
1
+ [private]
2
+
3
+ ;;----------------------------------------------------------------------------;;
4
+ ;; Database Connection Settings ;;
5
+ ;;----------------------------------------------------------------------------;;
6
+
7
+ store.backend = zenddb ; zenddb, virtuoso, multi
8
+
9
+ store.zenddb.dbname = ontowiki_TEST ; needs to end with _TEST
10
+ store.zenddb.username = travis
11
+ store.zenddb.password =
12
+ store.zenddb.dbtype = mysql ; mysql
13
+ store.zenddb.host = localhost ; default is localhost
14
+
15
+ store.virtuoso.dsn = VOS_TEST ; needs to end with _TEST
16
+ store.virtuoso.username = dba
17
+ store.virtuoso.password = dba
You can’t perform that action at this time.
0 commit comments