language: rust
rust:
  - stable
env:
  global:
    - LIBSODIUM_VERSION="1.0.16"
    - SODIUM_LIB_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/lib"
    - SODIUM_INC_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/include"
install:
  - ./.travis/install-libsodium.sh
cache:
  cargo: true
  apt: true
  directories:
    - $HOME/libsodium-$LIBSODIUM_VERSION

language: rust
rust:
  - stable
env:
  global:
    - LIBSODIUM_VERSION="1.0.16"
    - SODIUM_LIB_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/lib"
    - SODIUM_INC_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/include"
    - LD_LIBRARY_PATH="$SODIUM_LIB_DIR:$LD_LIBRARY_PATH"
install:
  - ./.travis/install-libsodium.sh
cache:
  cargo: true
  apt: true
  directories:
    - $HOME/libsodium-$LIBSODIUM_VERSION

Set the LD_LIBRARY_PATH env var
Set the LD_LIBRARY_PATH env var
