aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index f23b432d..ee29ce34 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,4 +8,8 @@ before_install:
script:
- mkdir -p /home/travis/build/alan-turing-institute/analysis/output
+ # create results (tables/figures) in the docker container
+ # note that we consider the build successful if there is no difference
+ # between the results in the repo and that generated by travis. An exception
+ # are the pdf files, which often differ due to different latex versions etc.
- docker run -v /home/travis/build/alan-turing-institute/analysis/output:/TCPDBench/analysis/output alan-turing-institute/tcpdbench /bin/bash -c "make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code"