]> git.donarmstrong.com Git - neurodebian.git/blob - tools/tests/run_in_debian_dockers
ENH: sketch for a test to check installation of the package
[neurodebian.git] / tools / tests / run_in_debian_dockers
1 #!/bin/bash
2
3 set -u
4 test=$1
5
6 docker.io images 2>&1 | grep -e  "\(debian\|ubuntu\)[ ]*[0-9]"  | sort | awk '{print $1,$2;}' \
7 | while read d v; do
8     echo "== $d $v"
9     chronic docker.io run --rm=true -v $PWD:$PWD $d:$v /bin/bash $PWD/$test
10 done