Installing libsodium via command

This commit is contained in:
Dennis Schwerdel 2015-11-23 19:47:06 +01:00
parent 8d1dace003
commit 293ced1393
1 changed files with 4 additions and 5 deletions

View File

@ -9,9 +9,10 @@ matrix:
- rust: nightly - rust: nightly
before_script: before_script:
- ! 'pip install ''travis-cargo<0.2'' --user && - ! 'pip install ''travis-cargo<0.2'' --user &&
export PATH=$HOME/.local/bin:$PATH;
export PATH=$HOME/.local/bin:$PATH wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz;
tar xvfz libsodium-1.0.3.tar.gz;
cd libsodium-1.0.3 && ./configure --prefix=/usr && make && sudo make install && cd ..
' '
script: script:
- ! 'travis-cargo build && - ! 'travis-cargo build &&
@ -26,8 +27,6 @@ addons:
- libcurl4-openssl-dev - libcurl4-openssl-dev
- libelf-dev - libelf-dev
- libdw-dev - libdw-dev
- libsodium13
- libsodium-dev
after_success: after_success:
- travis-cargo --only stable doc-upload - travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo - travis-cargo coveralls --no-sudo