ratatui/scripts/travis/before_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

8 lines
128 B
Bash
Executable file

#!/bin/bash
set -eu
export PATH="$PATH:$HOME/.cargo/bin"
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
make install
fi