summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorEzinwa Okpoechi <ezinwa.okpoechi@auto1.com>2018-05-03 18:12:03 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2018-05-05 09:01:30 +0200
commit418b3c5ea1b0673d061f29ce268a4ee6c07c5219 (patch)
tree3fb2e9f2a8f2f3ea4e0617c8183c1f57cc5fc8d8 /.travis.yml
parent9dca3126b330c654c3958f6d9af1b53cf6ef99f2 (diff)
Add less pager
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
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