-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy path.travis.yml
28 lines (25 loc) · 846 Bytes
/
.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
language: php
php:
- 5.4
- 5.3
# optionally specify a list of environments, for example to test different RDBMS
env:
- DB=mysql OC=5.0
- DB=sqllite OC=5.0
- DB=mysql OC=4.5
- DB=sqllite OC=4.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq apache2
- sudo apt-get install php5
- sudo apt-get install libapache2-mod-php5
- sudo /etc/init.d/apache2 restart
- sudo apt-get install dovecot-common dovecot-imapd dovecot-pop3d
- sudo apt-get install git
before_script:
- ./bin/ci/prepare.sh
script:
- sh -c "if [ '$DB' = 'mysql' ]; then ./bin/ci/prepare_mysql.sh; fi"
- sh -c "if [ '$DB' = 'sqllite' ]; then ./bin/ci/prepare_sqllite.sh; fi"
# - phpunit --configuration phpunit_$DB_oc$OC.xml --coverage-text
# - ./bin/sausage/vendor/bin/phpunit --path=./apps/roundcube/tests/integration/Selenium.php