1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01:00

test with alpn feature

This commit is contained in:
Nikolay Kim 2017-11-04 13:57:19 -07:00
parent 3f649b8e07
commit b467ddf970

View File

@ -12,17 +12,12 @@ dist: trusty
env: env:
global: global:
- RUSTFLAGS="-C link-dead-code" - RUSTFLAGS="-C link-dead-code"
- OPENSSL_VERSION=openssl-1.0.2
addons: before_install:
apt: - sudo add-apt-repository -y ppa:0k53d-karl-f830m/openssl
packages: - sudo apt-get update -qq
- libcurl4-openssl-dev - sudo apt-get install -qq libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- libiberty-dev
# Add clippy # Add clippy
before_script: before_script:
@ -33,7 +28,7 @@ before_script:
- export PATH=$PATH:~/.cargo/bin - export PATH=$PATH:~/.cargo/bin
script: script:
- USE_SKEPTIC=1 cargo test --no-default-features - USE_SKEPTIC=1 cargo test --features=alpn
- | - |
if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then
cargo clippy cargo clippy