language: rust
sudo: false
rust:
  - stable
  - beta
  - nightly
matrix:
  include:
    - rust: 1.15.1
      env: DOWNGRADE=1
script: |
  if [[ -n $DOWNGRADE ]]; then
    cargo generate-lockfile
    cargo update --package rand --precise 0.3.10
  fi
  cargo build
  cargo test
  cargo test --all-features
  ci/check-no-std.sh

language: rust
sudo: false
rust:
  - stable
  - beta
  - nightly
matrix:
  include:
    - rust: 1.15.1
      env: DOWNGRADE=1
script: |
  set -e
  if [[ -n ${DOWNGRADE:-} ]]; then
    cargo generate-lockfile
    cargo update --package rand --precise 0.3.10
  fi
  cargo build
  cargo test
  cargo test --all-features
  ci/check-no-std.sh

Make the build fail fast
Make the build fail fast
