summaryrefslogtreecommitdiff
path: root/travis-phing.sh
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:56:48 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:57:07 +0200
commit3069eaf35e833ffe4a1c1c7829dd7e168ae27420 (patch)
treed0c2e4d934cc34ba7d4232f759923b5a257dcb21 /travis-phing.sh
parentb833247ce597ec26159b46c8dfbea7f1e265950b (diff)
Merge up to r3319
Diffstat (limited to 'travis-phing.sh')
-rwxr-xr-xtravis-phing.sh40
1 files changed, 0 insertions, 40 deletions
diff --git a/travis-phing.sh b/travis-phing.sh
deleted file mode 100755
index 04d86a9f..00000000
--- a/travis-phing.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-#-----------------------------------------------------------
-#
-# Purpose: Run phing in a travis environment
-#
-# Target system: travis-ci
-#-----------------------------------------------------------
-
-installPearTask ()
-{
- echo -e "\nAuto-discover pear channels and upgrade ..."
- pear config-set auto_discover 1
- pear -qq channel-update pear.php.net
- pear -qq upgrade
- echo "... OK"
-
- echo -e "\nInstalling / upgrading phing ... "
- which phing >/dev/null &&
- pear upgrade pear.phing.info/phing ||
- pear install --alldeps pear.phing.info/phing
-
- # update paths
- phpenv rehash
-
- # re-test for phing:
- phing -v 2>&1 >/dev/null &&
- echo "... OK" ||
- return 1
-}
-
-
-#-----------------------------------------------------------
-
- installPearTask &&
- echo -e "\nSUCCESS - PHP ENVIRONMENT READY." ||
- ( echo "=== FAILED."; exit 1 )
-
- phing $*
-
-#------------------------------------------------------- eof