diff options
author | Ezinwa Okpoechi <ezinwa.okpoechi@auto1.com> | 2018-05-03 18:12:03 +0200 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2018-05-05 09:01:30 +0200 |
commit | 418b3c5ea1b0673d061f29ce268a4ee6c07c5219 (patch) | |
tree | 3fb2e9f2a8f2f3ea4e0617c8183c1f57cc5fc8d8 /.travis.yml | |
parent | 9dca3126b330c654c3958f6d9af1b53cf6ef99f2 (diff) |
Add less pager
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 06ab0939..e639a0b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,8 +55,9 @@ script: - cargo build --target $TARGET --verbose - cargo test --target $TARGET --verbose # Run 'bat' on its own source code and the README - - cargo run --target $TARGET -- src/main.rs - - cargo run --target $TARGET -- README.md + # Piping to 'cat' forces the tty check to fail so that a pager is not used + - cargo run --target $TARGET -- src/main.rs | cat + - cargo run --target $TARGET -- README.md | cat before_deploy: - bash ci/before_deploy.bash |