Skip to content

Commit

Permalink
Merge pull request #573 from DarrinFong/Travis_singularity3.4_#560
Browse files Browse the repository at this point in the history
Test with Singularity v3.4
  • Loading branch information
glatard committed Jan 10, 2020
2 parents 91dfe52 + ab87327 commit 5f80041
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,22 @@ node_js:
- 5

env:
- SINGVER=2.6.1 # the version of docker2singularity used below should match this one
- SINGVER=3.4.2 # the version of docker2singularity used below should match this one

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq python dh-autoreconf squashfs-tools build-essential libarchive-dev
- npm install jsonlint -g
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.12 bash)"
- docker build -t boutiques/example1:test ./tools/python/boutiques/schema/examples/example1
- docker run -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}:/output --privileged -t --rm singularityware/docker2singularity:v2.6 boutiques/example1:test
- docker run -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}:/output --privileged -t --rm singularityware/docker2singularity:v3.4.0 boutiques/example1:test
- IMGNAME=$(ls $HOME/boutiques_example1_test*.simg)
- wget https://github.com/singularityware/singularity/releases/download/$SINGVER/singularity-$SINGVER.tar.gz
- wget https://github.com/sylabs/singularity/releases/download/v$SINGVER/singularity-$SINGVER.tar.gz
- tar xvf singularity-$SINGVER.tar.gz
- cd singularity-$SINGVER
- ./configure --prefix=/usr/local --sysconfdir=/etc
- make
- sudo make install
- cd singularity
- ./mconfig --prefix=/usr/local --sysconfdir=/etc
- make -C ./builddir
- sudo make -C ./builddir install
- singularity --version
- cat /etc/singularity/singularity.conf
- cd ${TRAVIS_BUILD_DIR}/tools/python/
Expand Down

0 comments on commit 5f80041

Please sign in to comment.