build and lint the UI in travis-ci

This is a separate item in the matrix, so it doesn't go through this for
each of the three Rust versions.
This commit is contained in:
Scott Lamb
2018-08-31 07:33:05 -07:00
parent ee3da33470
commit fc0bc51bed
3 changed files with 48 additions and 12 deletions

6
ci/script-rust.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash -e
cargo build --all
cargo test --all
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
cargo bench --all
fi