Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
chore/ci: disable clippy/rustfmt temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Baksalyar committed Oct 17, 2018
1 parent 78ae815 commit 5e672b2
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ env:
global:
- RUST_BACKTRACE=1
- PATH=$PATH:$HOME/.cargo/bin
- RUST_STABLE=1.28.0
- RUST_NIGHTLY=nightly-2018-07-07
- RUST_RUSTFMT=0.99.2
- RUST_CLIPPY=0.0.212
- RUST_STABLE=1.29.2
os:
- linux
- osx
language: rust
rust:
- 1.28.0
- nightly-2018-07-07
- 1.29.2
sudo: false
branches:
only:
Expand All @@ -22,22 +18,8 @@ cache:
before_script:
- curl -sSL https://github.com/maidsafe/QA/raw/master/travis/cargo_install.sh > cargo_install.sh
- bash cargo_install.sh cargo-prune;
- if [ "$TRAVIS_RUST_VERSION" = "$RUST_NIGHTLY" ] && [ "$TRAVIS_OS_NAME" = linux ]; then
bash cargo_install.sh rustfmt-nightly "$RUST_RUSTFMT";
bash cargo_install.sh clippy "$RUST_CLIPPY";
fi
script:
- if [ "${TRAVIS_RUST_VERSION}" = "$RUST_STABLE" ]; then
(
set -x;
cargo test --release --verbose
);
elif [ "${TRAVIS_OS_NAME}" = linux ]; then
(
set -x;
cargo fmt -- --check &&
cargo clippy && cargo clippy --profile=test
);
fi
- set -x;
cargo test --release --verbose
before_cache:
- cargo prune

0 comments on commit 5e672b2

Please sign in to comment.