blob: 4e06898f95311ff7c70d7119d48b733c75be3d4e [file] [log] [blame]
dist: xenial
language: minimal
services:
- docker
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
only:
- master
env:
matrix:
- PLATFORM=debian-stretch TARGET=base
- PLATFORM=debian-stretch TARGET=platform
#- PLATFORM=debian-stretch TARGET=couch
# xplat commented out -- too slow on Travis
#- CONTAINERARCH=ppc64le PLATFORM=debian-stretch TARGET=base
#- CONTAINERARCH=ppc64le PLATFORM=debian-stretch TARGET=platform
#- CONTAINERARCH=ppc64le PLATFORM=debian-stretch TARGET=couch
- PLATFORM=debian-buster TARGET=base
- PLATFORM=debian-buster TARGET=platform
#- ERLANGVERSION=20.3.8.22-1 PLATFORM=debian-buster TARGET=couch
# xplat commented out -- too slow on Travis
#- CONTAINERARCH=arm64v8 PLATFORM=debian-buster TARGET=base
#- CONTAINERARCH=arm64v8 PLATFORM=debian-buster TARGET=platform
#- CONTAINERARCH=arm64v8 PLATFORM=debian-buster TARGET=couch
- PLATFORM=ubuntu-xenial TARGET=base
- PLATFORM=ubuntu-xenial TARGET=platform
#- PLATFORM=ubuntu-xenial TARGET=couch
- PLATFORM=ubuntu-bionic TARGET=base
- PLATFORM=ubuntu-bionic TARGET=platform
#- PLATFORM=ubuntu-bionic TARGET=couch
- PLATFORM=centos-6 TARGET=base
- PLATFORM=centos-6 TARGET=platform
#- PLATFORM=centos-6 TARGET=couch
- PLATFORM=centos-7 TARGET=base
- PLATFORM=centos-7 TARGET=platform
#- PLATFORM=centos-7 TARGET=couch
- PLATFORM=centos-8 TARGET=base
- PLATFORM=centos-8 TARGET=platform
#- PLATFORM=centos-8 TARGET=couch
before_install:
- docker --version
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
script:
- CONTAINERARCH=${CONTAINERARCH} ERLANGVERSION=${ERLANGVERSION} ./build.sh ${TARGET} ${PLATFORM}