Merge pull request #270 from tdfischer/check-with-unity

Build unity build on make check
This commit is contained in:
Igor Canadi 2014-10-06 23:07:07 -07:00
commit 1a1b953471
2 changed files with 1 additions and 2 deletions

View File

@ -14,6 +14,6 @@ before_install:
- 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
script: OPT=-DTRAVIS make unity && OPT=-DTRAVIS make check -j8
notifications:
email: false

View File

@ -10,7 +10,6 @@
#include "util/arena.h"
namespace rocksdb {
namespace {
class ReadableWriteBatch : public WriteBatch {
public:
explicit ReadableWriteBatch(size_t reserved_bytes = 0)