Another attempt at getting firebird running on travis ci

This commit is contained in:
Timothy Warren 2014-02-06 20:01:31 -05:00
parent 1e31196dee
commit 8624a7dfa2

View File

@ -1,18 +1,19 @@
language: php language: php
before_setup:
- sudo add-apt-repository ppa:mapopa -qq
- sudo apt-get update -qq
- sudo apt-get install firebird2.5-classic -qq
- sudo dpkg-reconfigure firebird2.5-classic -qq
- sudo apt-get install php5-interbase -qq
php: php:
- 5.2 - 5.2
- 5.3 - 5.3
- 5.4 - 5.4
- 5.5 - 5.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq firebird2.5-super firebird2.5-dev
- sudo sed /ENABLE_FIREBIRD_SERVER=/s/no/yes/ -i /etc/default/firebird2.5
- cat /etc/default/firebird2.5 | grep ENABLE_FIREBIRD_SERVER
- sudo service firebird2.5-super start
- sudo apt-get install php5-interbase -qq
before_script: before_script:
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres" - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- sh -c "psql -c 'create database test;' -U postgres" - sh -c "psql -c 'create database test;' -U postgres"