Simplify local testing #9
|
@ -18,4 +18,4 @@ RUN pip install --upgrade pip tox virtualenv
|
|||
|
||||
ADD . .
|
||||
|
||||
CMD .buildbot/ubuntu/test.sh
|
||||
CMD .buildbot/ubuntu/build.sh && .buildbot/ubuntu/test.sh
|
||||
|
|
11
docker-test.sh
Executable file
11
docker-test.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
DOCKERFILE=.buildbot/ubuntu/Dockerfile
|
||||
|
||||
docker build -t minode/tox -f $DOCKERFILE .
|
||||
|
||||
if [ $? -gt 0 ]; then
|
||||
docker build --no-cache -t minode/tox -f $DOCKERFILE .
|
||||
fi
|
||||
|
||||
docker run --rm -it minode/tox
|
Loading…
Reference in New Issue
Block a user