Repository: thrift Updated Branches: refs/heads/master 5d1521225 -> a139c9175
THRIFT-2312 travis.yml: build everything Patch: Henrique Mendonça fix php build and turn caching on Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/a139c917 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/a139c917 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/a139c917 Branch: refs/heads/master Commit: a139c9175293040d75f78d5f589b283469644845 Parents: 5d15212 Author: henrique <[email protected]> Authored: Wed Apr 2 14:45:39 2014 +0200 Committer: henrique <[email protected]> Committed: Wed Apr 2 14:45:39 2014 +0200 ---------------------------------------------------------------------- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/a139c917/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index ad1b363..c494d79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,14 +19,16 @@ # build Apache Thrift on Travis CI - https://travis-ci.org/ -language: ruby -rvm: - - 1.9.3 +language: php + +cache: + - apt + - npm # see what we need: http://thrift.apache.org/docs/install/ubuntu before_install: - export NUM_CPU="`grep processor /proc/cpuinfo | wc -l`"; echo $NUM_CPU -# - sudo apt-get update -qq + - sudo apt-get update -qq # - sudo DEBIAN_FRONTEND=noninteractive apt-get -qq -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade - sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev # Java @@ -39,11 +41,10 @@ before_install: # Perl - sudo apt-get install -qq libbit-vector-perl libclass-accessor-class-perl # PHP - - sudo apt-get install -qq php5-dev php5-cli phpunit -# - sudo apt-get upgrade pear + - sudo apt-get install -qq php5-dev php5-cli phpunit php-pear - sudo pear channel-discover pear.phpunit.de - sudo pear channel-discover pear.symfony.com - - sudo pear channel-discover components.ez.no +# - sudo pear channel-discover components.ez.no - sudo pear update-channels - sudo pear upgrade-all - sudo pear install --alldeps phpunit/PHPUnit
