Skip to content

Commit

Permalink
Add minimal tests to docker builds.
Browse files Browse the repository at this point in the history
Closes #4. Thanks to @gabeng for the great
suggestion.
  • Loading branch information
roryk committed Nov 27, 2020
1 parent 9e5bbb9 commit fba05bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit fba05bd

Please sign in to comment.