From b467ddf970a891426549717a21f8b9fe078ae8c4 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 4 Nov 2017 13:57:19 -0700 Subject: [PATCH] test with alpn feature --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 275c9e0f4..1ffdc132a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,17 +12,12 @@ dist: trusty env: global: - RUSTFLAGS="-C link-dead-code" + - OPENSSL_VERSION=openssl-1.0.2 -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev - - libiberty-dev +before_install: + - sudo add-apt-repository -y ppa:0k53d-karl-f830m/openssl + - sudo apt-get update -qq + - sudo apt-get install -qq libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev # Add clippy before_script: @@ -33,7 +28,7 @@ before_script: - export PATH=$PATH:~/.cargo/bin script: - - USE_SKEPTIC=1 cargo test --no-default-features + - USE_SKEPTIC=1 cargo test --features=alpn - | if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then cargo clippy