language: rust
rust:
  - 1.30.1
  - stable
install:
  - rustup component add rustfmt-preview
  - rustup component add clippy-preview
script:
  - cargo fmt -- --check
  - cargo clippy -- -D warnings
  - cargo test
  - cargo package

language: rust
rust:
  - 1.31.0
  - stable
install:
  - rustup component add rustfmt
  - rustup component add clippy
script:
  - cargo fmt -- --check
  - cargo clippy -- -D warnings
  - cargo test
  - cargo package

Update Travis to use rust-2018
Update Travis to use rust-2018
