12 - sudo apt-get -y install qemu-user-static
13 - sudo add-apt-repository -y ppa:deadsnakes/ppa
15 - sudo apt-get install python3.6 python3.6-dev
16 - sudo pip install tox
17 - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
18 - (cd .. && git clone https://github.com/estesp/manifest-tool)
19 - (cd ../manifest-tool && git checkout v0.9.0)
20 - (cd ../manifest-tool && sudo -E make && sudo -E make install)
24 - stage: run unit tests
26 tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,cover
27 - stage: build xtesting images
28 script: sudo -E bash build.sh
30 - REPO="${DOCKER_USERNAME}"
32 - script: sudo -E bash build.sh
34 - REPO="${DOCKER_USERNAME}"
36 - script: sudo -E bash build.sh
38 - REPO="${DOCKER_USERNAME}"
40 - stage: publish xtesting manifests
42 sudo manifest-tool push from-args \
43 --platforms linux/amd64,linux/arm,linux/arm64 \
44 --template ${DOCKER_USERNAME}/xtesting:ARCH-hunter \
45 --target ${DOCKER_USERNAME}/xtesting:hunter