this may do it
authorMichael Wallner <mike@php.net>
Mon, 27 Jul 2015 08:25:48 +0000 (10:25 +0200)
committerMichael Wallner <mike@php.net>
Mon, 27 Jul 2015 08:25:48 +0000 (10:25 +0200)
.travis.yml

index aa43ef0..3836508 100644 (file)
@@ -2,6 +2,9 @@ language: c
 
 addons:
     postgresql: "9.3"
+    apt:
+       packages:
+               - libpq-dev
 
 env:
     global:
@@ -19,10 +22,6 @@ env:
         - PHP_TARGET_REF=PHP-5.6 PHP_CONFIGURE_OPTS=""
         - PHP_TARGET_REF=PHP-5.6 PHP_CONFIGURE_OPTS="--enable-maintainer-zts"
 
-before_install:
-    - sudo apt-get update -qq
-    - sudo apt-get install -qq libpq-dev
-
 before_script:
     - ./travis/compile-php.sh
     - ./travis/compile-ext-raphf.sh
@@ -31,3 +30,5 @@ before_script:
 
 script:
     - $HOME$BUILD_INSTALL_DIR/bin/php ./run-tests.php -q -p $HOME$BUILD_INSTALL_DIR/bin/php --show-diff
+
+sudo: false
\ No newline at end of file