language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly

# Build only master branch and version tags - http://stackoverflow.com/a/31882307/463761
branches:
  only:
    - master
    - /^v[0-9]/

matrix:
  allow_failures:
    - rust: nightly

install:
  - (cargo install rustfmt || true)
  - PATH=/home/travis/.cargo/bin:$PATH

script:
  - cargo fmt -- --write-mode=diff
  - cargo build --verbose
  - cargo test --verbose
  - ./bin/run-tests --tap ./test

notifications:
  email:
    on_success: never

language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly

# Build only master branch and version tags - http://stackoverflow.com/a/31882307/463761
branches:
  only:
    - master
    - /^v[0-9]/

matrix:
  allow_failures:
    - rust: nightly

script:
  - cargo build --verbose
  - cargo test --verbose
  - ./bin/run-tests --tap ./test

notifications:
  email:
    on_success: never

Remove rustfmt from Travis CI
Remove rustfmt from Travis CI

.. while we're not complying / haven't configured it to our liking
