From a0dfb989401410fecade9a8ea680c15f17ae9f50 Mon Sep 17 00:00:00 2001
From: "Meredith L. Patterson" <mlp@thesmartpolitenerd.com>
Date: Thu, 21 Nov 2013 04:05:55 -0600
Subject: [PATCH] try putting phpenv config-add after bindings actually built

---
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f9196748..78ab999a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,12 +25,12 @@ matrix:
 before_install:
   - sudo apt-get update -qq
   - if [ "$BINDINGS" == "php" ]; then sudo apt-get install -qq swig php5-dev; fi
-before_script:
-  - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; fi
+#before_script:
+#  
 script: 
   - scons bindings=$BINDINGS
 after_script:
   - scons test
-  - if [ "$BINDINGS" == "php" ]; then LD_LIBRARY_PATH=build/opt/src phpunit -v src/bindings/php/Tests; fi
+  - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; LD_LIBRARY_PATH=build/opt/src phpunit -v src/bindings/php/Tests; fi
 notifications:
   irc: "irc.upstandinghackers.com#hammer"
-- 
GitLab