ratatui/scripts/travis/script.sh
Florian Dehau 29db3dd722 [CI] Add lint stage
* Add scripts for Travis under ./scripts/travis
* Install rustfmt and clippy on nightly
* Lint code for formatting problems and common errors
2017-05-21 12:49:12 +02:00

9 lines
109 B
Bash
Executable file

#!/bin/bash
set -eu
make build
make test
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
make lint
fi