language: php
php:
  - 5.4
  - 5.3

# optionally specify a list of environments, for example to test different RDBMS
env:
  - DB=mysql
  - DB=sqllite
  - OC=5.0
  - 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

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

Fix different environments in Travis
Fix different environments in Travis

see #46