added sudo to apt-get commands in travis

This commit is contained in:
debris 2016-01-28 20:47:15 +01:00
parent 55a78989fb
commit 67e623cb63

View File

@ -17,9 +17,9 @@ addons:
- libelf-dev
- libdw-dev
before_script: |
add-apt-repository "deb http://ppa.launchpad.net/giskou/librocksdb/ubuntu trusty main" &&
apt-get update &&
apt-get install -y librocksdb
sudo add-apt-repository "deb http://ppa.launchpad.net/giskou/librocksdb/ubuntu trusty main" &&
sudo apt-get update &&
sudo apt-get install -y librocksdb
script:
- cargo build --verbose $FEATURES
- cargo test --verbose $FEATURES