Update travis to use container build
This commit is contained in:
parent
e6ac4a70ad
commit
d55a244f1a
15
.travis.yml
15
.travis.yml
@ -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;'
|
||||
|
Loading…
Reference in New Issue
Block a user