|
|
@ -30,3 +30,17 @@ build: |
|
|
|
- setup.py |
|
|
|
- tests |
|
|
|
|
|
|
|
test-docker: |
|
|
|
script: |
|
|
|
- apk add --no-cache py-pip gcc libffi-dev openssl-dev libc-dev make python3-dev |
|
|
|
- pip install docker-compose |
|
|
|
- docker-compose up -d |
|
|
|
- sleep 3 |
|
|
|
# XXX: when there is an official gnunet image that works, replace this |
|
|
|
# See https://bugs.gnunet.org/view.php?id=6628 |
|
|
|
- docker pull registry.gitlab.com/juga0/gnunet:latest |
|
|
|
- docker pull $RELEASE_IMAGE || true |
|
|
|
- mkdir -p tmp |
|
|
|
- cp docker/gnunet.conf tmp/ |
|
|
|
- docker-compose up -d |
|
|
|
- docker exec gnunetrest pytest-3 tests |