Update travis to use container build

This commit is contained in:
Timothy Warren 2015-11-10 08:26:14 -05:00
parent e6ac4a70ad
commit d55a244f1a

View File

@ -1,4 +1,4 @@
#sudo: false
sudo: false
language: php
@ -10,20 +10,7 @@ php:
- hhvm
- nightly
before_install:
- sudo apt-get update
- sudo apt-get install -qq php5-interbase firebird2.5-super
- echo "extension = interbase.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = firebird.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "zend_extension = interbase.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "zend_extension = firebird.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
install:
- sudo chmod 777 tests/db_files/FB_TEST_DB.FDB
#- sudo pecl install -f pdo_firebird-0.2
before_script:
- sudo service firebird2.5-super start
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres
- mysql -e 'create database IF NOT EXISTS test;'