forked from SemanticMediaWiki/SemanticMediaWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (62 loc) · 2.11 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
language: php
matrix:
fast_finish: true
include:
- env: DB=mysql; MW=1.26.3; TYPE=coverage; PHPUNIT=4.8.*
php: 7.0
- env: DB=mysql; MW=1.26.3; FUSEKI=1.1.1
php: 5.5
- env: DB=mysql; MW=1.23.5; VIRTUOSO=6.1
php: 5.4
- env: DB=mysql; MW=1.25.6; SESAME=2.8.7
php: 5.3
- env: DB=sqlite; MW=1.22.12; SITELANG=ja
php: 5.5
- env: DB=postgres; MW=1.19.20;
php: 5.4
- env: DB=mysql; MW=1.24.1; BLAZEGRAPH=1.5.2; PHPUNIT=4.7.*
php: 5.6
- env: DB=mysql; MW=1.25.6; TYPE=benchmark; PHPUNIT=4.3.*;
php: hhvm
- env: DB=sqlite; MW=master; PHPUNIT=4.6.*
php: hhvm
- env: DB=sqlite; MW=1.25.6; TYPE=composer
php: 5.6
- env: DB=mysql; MW=1.19.20; TYPE=relbuild
php: 5.4
allow_failures:
- env: DB=mysql; MW=1.26.3; TYPE=coverage; PHPUNIT=4.8.*
- env: DB=mysql; MW=1.19.20; TYPE=relbuild
- env: DB=sqlite; MW=1.25.6; TYPE=composer
- env: DB=sqlite; MW=master; PHPUNIT=4.6.*
- env: DB=mysql; MW=1.25.6; TYPE=benchmark; PHPUNIT=4.3.*;
- env: DB=mysql; MW=1.25.6; SESAME=2.8.7
# Travis support wrote (Tomcat + Java):
# bug in the JDK: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7089443.
# The hostname for the precise-gce platform is longer than 64 characters on the
# VM your job is running on
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
install:
- travis_retry composer self-update
- bash ./tests/travis/install-services.sh
- bash ./tests/travis/install-mediawiki.sh
- bash ./tests/travis/install-semantic-mediawiki.sh
before_script:
- bash ./tests/travis/update-configuration-settings.sh
script:
- bash ./tests/travis/run-tests.sh
after_success:
- bash ./tests/travis/upload-coverage-report.sh
notifications:
irc:
channels:
- "chat.freenode.net#semantic-mediawiki"
on_success: never
on_failure: always
cache:
directories:
- $HOME/.composer/cache