Fix 1 typo in .travis.yml
[functest-xtesting.git] / .travis.yml
1 ---
2 sudo: required
3 services: docker
4 language: generic
5
6 before_script:
7   - sudo apt-get -y install qemu-user-static
8   - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
9   - (cd .. && git clone https://github.com/estesp/manifest-tool)
10   - (cd ../manifest-tool && git checkout v0.9.0)
11   - (cd ../manifest-tool && sudo -E make && sudo -E make install)
12
13 jobs:
14   include:
15     - stage: build xtesting images
16       script: sudo -E bash build.sh
17       env:
18         - REPO="${DOCKER_USERNAME}"
19         - arch="amd64"
20     - script: sudo -E bash build.sh
21       env:
22         - REPO="${DOCKER_USERNAME}"
23         - arch="arm"
24     - script: sudo -E bash build.sh
25       env:
26         - REPO="${DOCKER_USERNAME}"
27         - arch="arm64"
28     - stage: publish xtesting manifests
29       script: >
30         sudo manifest-tool push from-args \
31           --platforms linux/amd64,linux/arm,linux/arm64 \
32           --template ${DOCKER_USERNAME}/xtesting:ARCH-hunter \
33           --target ${DOCKER_USERNAME}/xtesting:hunter