aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml64
1 files changed, 0 insertions, 64 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 754b3d7..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-language: shell
-env:
- global:
- - DOCKER_CLI_EXPERIMENTAL=enabled # required by buildx
- - ORG=gentoo
- jobs:
- - TARGET=portage
- - TARGET=stage3-amd64
- - TARGET=stage3-amd64-hardened
- - TARGET=stage3-amd64-hardened-nomultilib
- - TARGET=stage3-amd64-musl-hardened
- - TARGET=stage3-amd64-musl-vanilla
- - TARGET=stage3-amd64-nomultilib
- - TARGET=stage3-amd64-systemd
- - TARGET=stage3-amd64-uclibc-hardened
- - TARGET=stage3-amd64-uclibc-vanilla
- - TARGET=stage3-arm64
- - TARGET=stage3-arm64-systemd
- - TARGET=stage3-armv5tel
- - TARGET=stage3-armv6j_hardfp
- - TARGET=stage3-armv7a_hardfp
- - TARGET=stage3-ppc64le
- - TARGET=stage3-s390x
- - TARGET=stage3-x86
- - TARGET=stage3-x86-hardened
- - TARGET=stage3-x86-musl-vanilla
- - TARGET=stage3-x86-systemd
- - TARGET=stage3-x86-uclibc-hardened
- - TARGET=stage3-x86-uclibc-vanilla
-
-before_install:
- # Install latest Docker (>=19.03.0 required by buildx)
- # https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
- - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- - sudo apt-get update -qq
- - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- - docker info
-before_script:
- # Create multiarch buildx builder
- - docker buildx create --driver docker-container --use
-script:
- # Build image
- - ./build.sh
-after_success:
- # Inspect built image
- - docker image inspect "${ORG}/${TARGET/-/:}"
- # Run `emerge --info` for stage builds
- - |
- if [[ "${TARGET}" == stage* ]]; then
- # Check if QEMU emulation support is required
- if [[ ! "${TARGET}" =~ -(amd64|x86)($|-) ]]; then
- # Enable execution of foreign binary formats (i.e., non-amd64/x86)
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- fi
- docker run --rm "${ORG}/${TARGET/-/:}" emerge --info
- fi
-deploy:
- # Push to Docker Hub (daily cron job)
- - provider: script
- script: ./deploy.sh
- on:
- branch: master
- condition: $TRAVIS_EVENT_TYPE = cron