mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-07-01 05:30:55 +02:00
25 lines
568 B
YAML
25 lines
568 B
YAML
sudo: required
|
|
services:
|
|
- docker
|
|
language: python
|
|
env:
|
|
global:
|
|
- QEMU_VER=v2.9.1
|
|
matrix:
|
|
- ARCH=amd64
|
|
- ARCH=armhf
|
|
- ARCH=aarch64
|
|
python:
|
|
- "2.7"
|
|
install:
|
|
- pip install -r requirements.txt
|
|
script:
|
|
# prepare qemu
|
|
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
# generate and build dockerfile
|
|
- ./Dockerfile.py --arch=${ARCH} -v
|
|
- docker images
|
|
# run docker build & tests
|
|
# 2 parallel max b/c race condition with docker fixture (I think?)
|
|
- py.test -vv -n 2 -k "${ARCH}" ./test/
|