-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (47 loc) · 1.49 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: minimal
sudo: required
addons:
apt:
packages:
- docker-ce # use experimental features
services:
- docker
before_install:
- docker --version # document the version travis is using
- echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
- mkdir -p $HOME/.docker && echo '{"experimental":"enabled"}' | tee $HOME/.docker/config.json
- sudo service docker restart
#install:
# - docker run --rm --privileged multiarch/qemu-user-static:register --reset # moved to Makefile, left here for reference
jobs:
include:
- stage: amd64
name: Intel/AMD 64-bit (x86_64)
script:
- make wrap-amd64
- make build-amd64
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make push-amd64
- stage: arm64v8
name: ARMv8 64-bit (modern Raspberry 3+, other 64-bit ARM)
script:
- make qemu
- make wrap-arm64v8
- make build-arm64v8
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make push-arm64v8
- stage: arm32v7
name: ARMv7 32-bit (modern Raspberry Pi 2/3+, ODROID, other 32-bit ARM, usually hard float)
script:
- make qemu
- make wrap-arm32v7
- make build-arm32v7
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make push-arm32v7
- stage: manifest
name: Docker manifest
script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make manifest
#after_success:
# - make manifest