From fba05bdb0fd2b3f25609a2c6e313d2523f21d553 Mon Sep 17 00:00:00 2001 From: roryk Date: Fri, 27 Nov 2020 12:50:05 -0500 Subject: [PATCH] Add minimal tests to docker builds. Closes #4. Thanks to @gabeng for the great suggestion. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4df6925..bc6d369 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,11 @@ services: - docker notifications: email: false +stages: + - build + - test jobs: - include: + build: - stage: base name: "bcbio-base" script: sudo -E bash build_base.sh @@ -19,6 +22,11 @@ jobs: name: "bcbio-rnaseq" script: sudo -E bash build_tool.sh env: TOOL="bcbio-rnaseq" + test: + - docker run quay.io/bcbio/bcbio-base:latest /usr/local/share/bcbio-nextgen/anaconda/bin/bcbio_nextgen.py --version + - docker run quay.io/bcbio/bcbio-rnaseq:latest /usr/local/share/bcbio-nextgen/anaconda/bin/bcbio_nextgen.py --version + - docker run quay.io/bcbio/bcbio-vc:latest /usr/local/share/bcbio-nextgen/anaconda/bin/bcbio_nextgen.py --version + env: global: - BCBIO_VERSION="1.2.4"