mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-29 18:33:58 +00:00
51ea889002
Summary: Lots of travis builds are failing because on EnvPosixTest.RandomAccessUniqueID: https://travis-ci.org/facebook/rocksdb/builds/34400833 This is the result of their environment and not because of RocksDB's bug. Also note that RocksDB works correctly even though UniqueID feature is not present in the system (as it's the case with os x) Test Plan: OPT=-DTRAVIS make env_test && ./env_test Observed that offending tests are not being run Reviewers: sdong, yhchiang, ljin Reviewed By: ljin Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D22803
20 lines
995 B
YAML
20 lines
995 B
YAML
language: cpp
|
|
compiler: gcc
|
|
before_install:
|
|
# As of this writing (10 May 2014) the Travis build environment is Ubuntu 12.04,
|
|
# which needs the following ugly dependency incantations to build RocksDB:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y -qq gcc-4.8 g++-4.8 zlib1g-dev libbz2-dev libsnappy-dev libjemalloc-dev
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
|
|
- wget https://gflags.googlecode.com/files/libgflags0_2.0-1_amd64.deb
|
|
- sudo dpkg -i libgflags0_2.0-1_amd64.deb
|
|
- wget https://gflags.googlecode.com/files/libgflags-dev_2.0-1_amd64.deb
|
|
- sudo dpkg -i libgflags-dev_2.0-1_amd64.deb
|
|
# Lousy hack to disable use and testing of fallocate, which doesn't behave quite
|
|
# as EnvPosixTest::AllocateTest expects within the Travis OpenVZ environment.
|
|
script: OPT=-DTRAVIS make check -j8
|
|
notifications:
|
|
email: false
|