From d460318f7f30265aa2fd1fae764304f102c951d9 Mon Sep 17 00:00:00 2001 From: "Meredith L. Patterson" <mlp@thesmartpolitenerd.com> Date: Wed, 20 Nov 2013 23:39:00 -0600 Subject: [PATCH] let's try and make that a little more extensible, shall we --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10c432de..cda83a8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,33 +3,33 @@ compiler: - gcc - clang env: - - WITHPHP=false + - BINDINGS=none matrix: include: - compiler: gcc language: php php: 5.5 - env: WITHPHP=true + env: BINDINGS=php - compiler: clang language: php php: 5.5 - env: WITHPHP=true + env: BINDINGS=php - compiler: gcc language: php php: 5.4 - env: WITHPHP=true + env: BINDINGS=php - compiler: clang language: php php: 5.4 - env: WITHPHP=true + env: BINDINGS=php before_install: - sudo apt-get update -qq - sudo apt-get install -qq swig php5-dev before_script: - - if [ "$WITHPHP" == "true" ]; then phpenv config-add src/bindings/php/hammer.ini; fi + - if [ "$BINDINGS" == "php" ]; then phpenv config-add src/bindings/php/hammer.ini; fi script: - scons after_script: - - if [ "$WITHPHP" == "true" ]; then phpunit -v src/bindings/php/Tests; fi + - if [ "$BINDINGS" == "php" ]; then phpunit -v src/bindings/php/Tests; fi notifications: irc: "irc.upstandinghackers.com#hammer" -- GitLab