You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-whoami/travis-test.sh

12 lines
161 B

8 years ago
#!/bin/bash
set -e
if [ "$ARCH" == "amd64" ]; then
# test image
docker run -d -p 8080:8080 --name=whoamitest whoami
sleep 5
docker logs whoamitest
fi