Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #86 from trstickland/master
Browse files Browse the repository at this point in the history
travis CI now pulls rather than builds the docker image
  • Loading branch information
trstickland authored Aug 21, 2018
2 parents 4f4bf0d + 43b9c2b commit 32fd793
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ dist: trusty
sudo: required
services:
- docker


env:
global:
- ROOTDIR="$TRAVIS_BUILD_DIR"

before_install:
- docker build -t companion_image .
- # docker build -t companion_image .
- docker pull $DOCKER_IMAGE
- docker tag $DOCKER_IMAGE companion_image
- docker run -dit -v $TRAVIS_BUILD_DIR:/tmp/companion --name companion_container companion_image /bin/bash
- sleep 5
- docker container ls
Expand All @@ -19,9 +25,7 @@ before_install:
cache:
directories:
- work
env:
global:
- ROOTDIR="$TRAVIS_BUILD_DIR"

script:
- docker exec companion_container /bin/bash -c 'cd /tmp/companion/test/testsuite; ./testsuite.rb -threads 2'
- travis_wait docker exec companion_container /bin/bash -c 'cd /tmp/companion; ./nextflow -c loc_travis.config -c params_default.config run annot.nf --do_circos=false'
Expand Down

0 comments on commit 32fd793

Please sign in to comment.