-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 944 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
sudo: required
services:
- docker
env:
matrix:
- ARCH=arm64 QEMU=qemu-aarch64-static BASE_IMAGE=arm64v8/debian:stretch-slim
- ARCH=arm QEMU=qemu-arm-static BASE_IMAGE=arm32v7/debian:stretch-slim
- ARCH=amd64 QEMU=qemu-fake-static BASE_IMAGE=amd64/debian:stretch-slim
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose --version
- sudo service docker stop
- sudo apt-cache madison docker-ce
- sudo apt-get install docker-ce=17.11.0~ce-0~ubuntu
- docker version
script:
- ./travis-build.sh
- ./travis-test.sh
- >
if [ -n "$TRAVIS_TAG" ]; then
travis_retry timeout 5m docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
./travis-deploy.sh
./travis-swarm.sh
fi