---
language: erlang
install: true
before_script:
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod +x rebar3
env: PATH=$PATH:.
script:
- bin/fetch-configlet
- bin/configlet .
- make test
cache:
- apt
otp_release:
- 19.0
- 18.3
- 18.2
- 18.0
- 17.5
- 17.4

---
language: erlang
install: true
before_script:
- wget https://s3.amazonaws.com/rebar3/rebar3
- chmod +x rebar3
env: PATH=$PATH:.
script:
- bin/fetch-configlet
- bin/configlet lint .
- make test
cache:
- apt
otp_release:
- 19.0
- 18.3
- 18.2
- 18.0
- 17.5
- 17.4

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.
