Skip to content

Commit

Permalink
An attempt to fix the buffer overflow errors during pig tests in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenCepoi committed Dec 15, 2015
1 parent 35c441c commit a0f954b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
@@ -1,6 +1,10 @@
language: java

before_install:
# An attempt to fix the buffer overflow in the pig tests
# /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnet.so(Java_java_net_Inet4AddressImpl_getLocalHostName+0x190)[
# https://github.com/travis-ci/travis-ci/issues/1484
- echo "127.0.0.1 " `hostname` | sudo tee /etc/hosts
- sudo apt-get update -qq
- sudo apt-get install -qq protobuf-compiler
- 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
Expand Down

0 comments on commit a0f954b

Please sign in to comment.