---
language: rust
script:
- "./_test/check-exercises.sh"
- "./bin/fetch-configlet"
- "./bin/configlet ."
sudo: false
rust:
  - stable
  - beta
  - nightly
env:
  - DENYWARNINGS=
  - DENYWARNINGS=1
matrix:
  include:
    - rust: nightly
      env: BENCHMARK=1
      script: "./_test/check-exercises.sh"
  allow_failures:
    - rust: nightly
    - rust: beta
      env: DENYWARNINGS=1

---
language: rust
script:
- "./_test/check-exercises.sh"
- "./bin/fetch-configlet"
- "./bin/configlet lint ."
sudo: false
rust:
  - stable
  - beta
  - nightly
env:
  - DENYWARNINGS=
  - DENYWARNINGS=1
matrix:
  include:
    - rust: nightly
      env: BENCHMARK=1
      script: "./_test/check-exercises.sh"
  allow_failures:
    - rust: nightly
    - rust: beta
      env: DENYWARNINGS=1

Call configlet subcommand on CI
Call configlet subcommand on CI

This changes configlet to pass a subcommand.

For now, we've released a version of configlet which handles both the old command:

    configlet path/to/track

as well as the new command:

    configlet lint path/to/track

This will let us update all the travis files to include the subcommand before we
release the version of configlet that requires the subcommand.
