diff --git a/appveyor.yml b/.appveyor.yml similarity index 99% rename from appveyor.yml rename to .appveyor.yml index adf84e2..12c88c3 100644 --- a/appveyor.yml +++ b/.appveyor.yml @@ -94,8 +94,8 @@ environment: # or test failure in the matching channels/targets from failing the entire build. matrix: allow_failures: - - channel: beta - channel: nightly + - channel: beta # If you only care about stable channel build failures, uncomment the following line: #- channel: beta @@ -128,4 +128,3 @@ build: false # environment variable. test_script: - cargo test --verbose %cargoflags% - - cargo fmt --all -- --check diff --git a/.travis.yml b/.travis.yml index a1cc380..ee8069e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,10 +18,12 @@ before_script: script: - cargo build --all --locked --verbose - cargo test --all --locked --verbose - - cargo fmt --all -- --check + - | + if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then + cargo fmt --all -- --check + fi jobs: allow_failures: - - rust: beta - rust: nightly fast_finish: true