We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbe280 commit 33c7ea1Copy full SHA for 33c7ea1
.travis.yml
@@ -51,8 +51,10 @@ script:
51
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
52
cargo miri -q
53
else
54
- cargo miri -q >stdout.real 2>stderr.real &&
55
- cat stdout.real stderr.real &&
+ cargo miri -q >stdout.real 2>stderr.real; EXIT=$? &&
+ # Print file names and contents (`cat` would just print contents)
56
+ tail -n +0 stdout.real stderr.real &&
57
+ if [[ $EXIT != 0 ]]; then exit; fi &&
58
# Test `cargo miri` output. Not on mac because output redirecting doesn't
59
# work. There is no error. It just stops CI.
60
diff -u stdout.ref stdout.real &&
0 commit comments