diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-04-16 00:15:07 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2019-04-16 00:15:07 +0000 |
commit | 98350e609f25d9cd18ebf794edc65f468185ddf8 (patch) | |
tree | 1cd9da6a8f464f12bc7bb0b7576527c950de6afb | |
parent | Run cargo test on travis (diff) | |
download | miniserve-98350e609f25d9cd18ebf794edc65f468185ddf8.tar.gz miniserve-98350e609f25d9cd18ebf794edc65f468185ddf8.zip |
Enable RUST_BACKTRACE=1 on travis
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 6872412..68a3db1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,8 +50,8 @@ install: script: # If this is a normal, non-deployment build... - - if [[ -z $TARGET ]]; then cargo build --verbose && cargo test; fi - - if [[ -n $TARGET ]]; then cargo build --verbose --release --target $TARGET && cargo test; fi + - if [[ -z $TARGET ]]; then cargo build --verbose && RUST_BACKTRACE=1 cargo test; fi + - if [[ -n $TARGET ]]; then cargo build --verbose --release --target $TARGET && RUST_BACKTRACE=1 cargo test; fi before_deploy: # If this is a binary deployment... |