add tests

This commit is contained in:
ILoveYaToo 2020-04-13 23:07:32 -04:00
parent a3e46c192f
commit f475583a6f

View File

@ -37,7 +37,17 @@ test-docker-ubuntu:
after_script:
- cd ubuntu
- docker-compose rm -sfv
- docker run -i -v $(pwd):/cleandir -w /cleandir alpine rm -rf "/cleandir/data/*"
test-docker-alpine:
stage: tests
script:
- cd alpine
- docker load -i postal-alpine-container.tar
- docker-compose up -d
- docker-compose run postal initialize
after_script:
- cd alpine
- docker-compose rm -sfv
after_script:
- docker container prune -f