message: Build travis with miscreant enabled
diff: language: rust
  -rust:
  - - stable
  - #- beta
  - #- nightly
  +matrix:
  + - rust: stable
  + - rust: beta
  + - rust: nightly
  + env: BUILD_WITH_FEATURE="--features miscreant"
  cache: cargo
  @@ -12,14 +13,13 @@ addons:
  apt:
  packages:
  - libssl-dev
  - - libsodium-dev
  install:
  #- wget https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz
  #- tar xvfz libsodium-1.0.16.tar.gz
  - #- cd libsodium-1.0.16 && ./configure --prefix=$HOME/installed_libsodium && make && make install &&
  - # cd ..
  + #- cd libsodium-1.0.16 && ./configure --prefix=$HOME/installed_libsodium && make && make install && cd ..
  #- export PKG_CONFIG_PATH=$HOME/installed_libsodium/lib/pkgconfig:$PKG_CONFIG_PATH
  #- export LD_LIBRARY_PATH=$HOME/installed_libsodium/lib:$LD_LIBRARY_PATH
  + - export SODIUM_BUILD_STATIC=yes
  script:
  - - cargo test --no-fail-fast
  + - cargo test --no-fail-fast $BUILD_WITH_FEATURE
  