1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-05 01:32:31 +00: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