From d2ce6911314e160c023beb741c75b383bf7dc9a3 Mon Sep 17 00:00:00 2001 From: ustulation Date: Wed, 1 Feb 2017 14:16:12 +0000 Subject: [PATCH] chore/ci: fix travis rust nightly after Dec-8 will have a problem with crates generating cdylib with cargo clippy (tested with clippy version 0.0.104) - it fails at linking step with - syntax error in version script - error. This is apparantly a bug due to https://github.com/rust-lang/rust/pull/38117. So reverting back to using rust-nightly of 17th Nov 2016 and clippy of v0.0.99. --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7074549fe1..b995e19808 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ os: language: rust rust: - stable - - nightly-2016-12-19 + - nightly-2016-11-17 sudo: false branches: only: @@ -24,7 +24,7 @@ before_script: - if [ "${TRAVIS_RUST_VERSION}" = stable ]; then (which rustfmt && cargo install-update rustfmt) || cargo install rustfmt; elif [ "${TRAVIS_OS_NAME}" = linux ]; then - clippy_vers=0.0.104; + clippy_vers=0.0.99; if ! cargo clippy --version | grep -q $clippy_vers; then cargo install clippy --vers=$clippy_vers --force; fi @@ -64,8 +64,6 @@ script: elif [ "${TRAVIS_OS_NAME}" = linux ]; then ( set -x; - cargo clippy && cargo clippy --profile=test - cd ffi_utils && unset Features && cargo clippy && cargo clippy --profile=test && export Features="use-mock-routing testing" && cd ../safe_core && cargo clippy && cargo clippy --profile=test --features="$Features" && cd ../safe_app && cargo clippy && cargo clippy --profile=test --features="$Features" &&