Add basic docker cloud autotest

This commit is contained in:
etienne-napoleone 2018-06-20 18:11:57 +07:00
parent 3a5e745bb2
commit bb23882f77
2 changed files with 14 additions and 0 deletions

11
docker-compose.test.yml Normal file
View file

@ -0,0 +1,11 @@
version: "3.4"
services:
sut:
build: .
volumes:
- "./docker/run_tests.sh:/test/run_tests.sh"
entrypoint:
- /bin/sh
- /test/run_tests.sh

3
docker/docker_tests.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
$(tomo --help | grep -q tomo)