-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 1.39 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
language: bash
os: linux
services: docker
#sudo: required
dist: bionic
#arch: ppc64le
#script: chmod +x ./build.sh; ./build.sh
#script:
#- sudo docker run -t centos:latest bash -c 'dnf update -y; dnf install -y git'
#- sudo docker run --rm alpine:latest 'apk add git'
#- sudo docker run --rm fedora:32 bash -c 'dnf update -y; dnf install -y git'
#- sudo docker run --rm ubuntu:latest bash -c 'apt-get update -y; apt-get install -y git'
#- sudo docker run --rm debian:latest bash -c 'apt-get update -y; apt-get install -y git'
#- sudo docker run -t ppc64le/debian:latest bash -c 'cat /sys/module/overlay/parameters/metacopy; apt update -y; apt-get upgrade -y; apt-get -f install vim'
jobs:
include:
- stage: building ppc64le image
arch: ppc64le
script: chmod +x ./build.sh; ./build.sh
- stage: building x86_64 image
arch: amd64
script: chmod +x ./build.sh; ./build.sh
- stage: building multi-arch image
arch: ppc64le
script: chmod +x ./create-multi-arch.sh; ./create-multi-arch.sh
- stage: run x86_64 image
arch: amd64
script: docker pull quay.io/snehakpersistent/multi-arch-travis:latest; docker run --rm quay.io/snehakpersistent/multi-arch-travis:latest
- stage: run ppc64le image
arch: ppc64le
script: docker pull quay.io/snehakpersistent/multi-arch-travis:latest; docker run --rm quay.io/snehakpersistent/multi-arch-travis:latest