Commit 20739c17 authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

Add self test that can be run by travis

parent 4aa93742
sudo: required
language: bash
- docker
- make ci-test
......@@ -21,6 +21,10 @@ docker-image-test: docker-image
# Ensure that the image does not include a private key
! docker run --rm pierres/archlinux pacman-key --lsign-key
docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v $(PWD):/app -w /app pierres/archlinux \
sh -c 'pacman -Sy --noconfirm make devtools docker && make docker-image-test'
docker-push: docker-image-test
docker login -u $(DOCKER_USER)
docker push $(DOCKER_USER)/$(DOCKER_IMAGE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment