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 aa43ef0cd7e56bc102d2dfce5df993d2af26c159..38365080384c8cab31108a6bac8a3fddf07cd840 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