Skip to content

Commit d2ce691

Browse files
committed
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 rust-lang/rust#38117. So reverting back to using rust-nightly of 17th Nov 2016 and clippy of v0.0.99.
1 parent 8d648ce commit d2ce691

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ os:
99
language: rust
1010
rust:
1111
- stable
12-
- nightly-2016-12-19
12+
- nightly-2016-11-17
1313
sudo: false
1414
branches:
1515
only:
@@ -24,7 +24,7 @@ before_script:
2424
- if [ "${TRAVIS_RUST_VERSION}" = stable ]; then
2525
(which rustfmt && cargo install-update rustfmt) || cargo install rustfmt;
2626
elif [ "${TRAVIS_OS_NAME}" = linux ]; then
27-
clippy_vers=0.0.104;
27+
clippy_vers=0.0.99;
2828
if ! cargo clippy --version | grep -q $clippy_vers; then
2929
cargo install clippy --vers=$clippy_vers --force;
3030
fi
@@ -64,8 +64,6 @@ script:
6464
elif [ "${TRAVIS_OS_NAME}" = linux ]; then
6565
(
6666
set -x;
67-
cargo clippy && cargo clippy --profile=test
68-
6967
cd ffi_utils && unset Features && cargo clippy && cargo clippy --profile=test && export Features="use-mock-routing testing" &&
7068
cd ../safe_core && cargo clippy && cargo clippy --profile=test --features="$Features" &&
7169
cd ../safe_app && cargo clippy && cargo clippy --profile=test --features="$Features" &&

0 commit comments

Comments
 (0)