Fixed Mac broken build and added building capabilities for Linux

This commit is contained in:
Javier Marcos 2014-10-02 23:25:39 +00:00 committed by mike@arpaia.co
parent 84a79855e7
commit 1401a279a2
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,6 @@
language: cpp
os: osx
os:
- osx
- linux
compiler: clang
script: ./tools/build.sh

View File

@ -75,10 +75,9 @@ function install_rocksdb() {
pushd rocksdb-rocksdb-3.5
make static_lib
popd
else
sudo cp rocksdb-rocksdb-3.5/librocksdb.a /usr/local/lib
sudo cp -R rocksdb-rocksdb-3.5/include/rocksdb /usr/local/include
fi
sudo cp rocksdb-rocksdb-3.5/librocksdb.a /usr/local/lib
sudo cp -R rocksdb-rocksdb-3.5/include/rocksdb /usr/local/include
fi
else
log "rocksdb already installed. skipping."