aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-08-18 22:29:56 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-08-18 22:29:56 +0100
commitd91244a8eff6ddc8e3d7bebb014aeb9902cd99df (patch)
tree9d411bdc3601f4f5ca4b9edcfb55461d0e331ae1
parentAdd r-cran-rcppeigen package to dockerfile (diff)
downloadTCPDBench-d91244a8eff6ddc8e3d7bebb014aeb9902cd99df.tar.gz
TCPDBench-d91244a8eff6ddc8e3d7bebb014aeb9902cd99df.zip
Test building the virtualenvs on Travis
-rw-r--r--.travis.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 2a422bdc..58202c03 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,8 +8,14 @@ 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.
+ # 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 clean && make results && git checkout ./analysis/output/rankplots/*.pdf && git diff --exit-code"
+ # Test that the virtual environments can be created. The virtualenvs are
+ # needed to run the experiments using the same package versions as used in
+ # the paper. Since these may depend on external (third-party) packages,
+ # they can potentially be fragile to unexpected changes, so we want to
+ # make sure we're notified when they no longer build correctly.
+ - docker run alan-turing-institute/tcpdbench /bin/bash -c "make venvs"