summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorhenrique <henrique@apache.org>2014-06-10 15:19:55 +0200
committerhenrique <henrique@apache.org>2014-06-10 15:19:55 +0200
commit48b189716f7611a73e9a2d9b4e2f3989c101740f (patch)
treeb1026b170a13d2d9049734ea28db40140cd79c9e /.travis.yml
parentfaf52db2160df39289550cb6ba714adc47c395cf (diff)
downloadthrift-48b189716f7611a73e9a2d9b4e2f3989c101740f.tar.gz
THRIFT-2471 requires libboost 1.54
+ additional script clean up
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 2ae6fcb08..9bd9dfada 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,14 +28,13 @@ cache:
# 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-add-repository "deb http://archive.ubuntu.com/ubuntu/ trusty main restricted" -y
- 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 bc
+ - dpkg -S /usr/include/boost/version.hpp
# Java
- sudo apt-get install -qq ant
# Ruby
-# - gem uninstall bundler -I -x
- gem install bundler -v 1.3.5 || true
# Python
# - sudo apt-get install -qq python-all python-all-dev python-all-dbg
@@ -58,7 +57,7 @@ before_install:
# Haskell
# - sudo apt-get install -qq ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
# Thrift Compiler for Windows
- - sudo apt-get install -qq mingw32 mingw32-binutils mingw32-runtime
+ - sudo apt-get install -qq mingw32
# node.js
- sudo apt-get install -qq nodejs npm
- sudo npm install nodeunit -g || true
@@ -69,8 +68,8 @@ install:
script:
# TODO: fix these languages
- sh configure --without-erlang --without-haskell --without-python --without-go --without-lua
- - make -j$NUM_CPU && make dist
- - make cross -j$NUM_CPU
+ - make -j2 && make dist
+ - make cross -j2
- sh bootstrap.sh ; sh contrib/mingw-cross-compile.sh
# TODO: add these steps
# - sh bootstrap.sh ; dpkg-buildpackage -tc