language: rust
sudo: false

cache: cargo

before_install:
  - export RUST_SRC_PATH=$(scripts/download_rust_source.sh)

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

script:
  - cargo test
  - scripts/assert_cargo_lock_unchanged

language: rust
sudo: false

cache: cargo

before_install:
  - export RUST_SRC_PATH=$(scripts/download_rust_source.sh)

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly
    - rust: beta

script:
  - cargo test
  - scripts/assert_cargo_lock_unchanged

Allow failures on beta toolchain
Allow failures on beta toolchain

Some dependencies don't guarantee beta compatibility making it difficult
for racerd to do so. In this case, the latest version of clap (racer
dep) is broken.
