Skip to content

Commit

Permalink
chore/ci: fix travis
Browse files Browse the repository at this point in the history
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 rust-lang/rust#38117. So reverting back to using rust-nightly of 17th Nov 2016 and clippy of v0.0.99.
  • Loading branch information
ustulation committed Feb 1, 2017
1 parent 8d648ce commit d2ce691
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ os:
language: rust
rust:
- stable
- nightly-2016-12-19
- nightly-2016-11-17
sudo: false
branches:
only:
Expand All @@ -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
Expand Down Expand Up @@ -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" &&
Expand Down

0 comments on commit d2ce691

Please sign in to comment.