mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
stop after first failing test, use py.test -s
This commit is contained in:
parent
2169369dab
commit
03c506dade
@ -7,6 +7,8 @@ docker build -t internetarchive/rethinkdb $script_dir || exit 1
|
|||||||
uid=$(id -u)
|
uid=$(id -u)
|
||||||
user=$(id -un)
|
user=$(id -un)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
for python in python2.7 python3.4
|
for python in python2.7 python3.4
|
||||||
do
|
do
|
||||||
docker run --rm -i -t --volume="$script_dir/..:/warcprox" internetarchive/rethinkdb /sbin/my_init -- \
|
docker run --rm -i -t --volume="$script_dir/..:/warcprox" internetarchive/rethinkdb /sbin/my_init -- \
|
||||||
@ -16,8 +18,8 @@ do
|
|||||||
&& virtualenv -p $python /tmp/venv \
|
&& virtualenv -p $python /tmp/venv \
|
||||||
&& source /tmp/venv/bin/activate \
|
&& source /tmp/venv/bin/activate \
|
||||||
&& pip --log-file /tmp/pip.log install . pytest requests \
|
&& pip --log-file /tmp/pip.log install . pytest requests \
|
||||||
&& py.test tests \
|
&& py.test -s tests \
|
||||||
&& py.test --rethinkdb-servers=localhost tests \
|
&& py.test -s --rethinkdb-servers=localhost tests \
|
||||||
&& py.test --rethinkdb-servers=localhost --rethinkdb-big-table tests'"
|
&& py.test -s --rethinkdb-servers=localhost --rethinkdb-big-table tests'"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user