Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
archlinux-docker
Commits
20739c17
Commit
20739c17
authored
Apr 23, 2017
by
Pierre Schmitz
Browse files
Add self test that can be run by travis
parent
4aa93742
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
0 → 100644
View file @
20739c17
sudo
:
required
language
:
bash
services
:
-
docker
script
:
-
make ci-test
Makefile
View file @
20739c17
...
...
@@ -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
pierre@archlinux.de
ci-test
:
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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment