dockcross/circle.yml

96 lines
4.5 KiB
YAML
Raw Normal View History

2016-03-02 16:21:14 +01:00
machine:
# XXX: btrfs circleCI fix, see: https://github.com/docker/docker/issues/9939 and https://github.com/Sabayon/docker-stage3-base-amd64/commit/8c1bf737113a278dd2f
pre:
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
- sudo chmod 0755 /usr/bin/docker
2016-03-02 16:21:14 +01:00
services:
- docker
dependencies:
2016-09-21 06:32:05 +02:00
cache_directories:
- "~/docker"
2016-03-02 16:21:14 +01:00
override:
- docker info
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/base.tar ]]; then docker load -i ~/docker/base.tar; fi
- docker pull dockcross/base
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/android-arm.tar ]]; then docker load -i ~/docker/android-arm.tar; fi
- docker pull dockcross/android-arm
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/browser-asmjs.tar ]]; then docker load -i ~/docker/browser-asmjs.tar; fi
- docker pull dockcross/browser-asmjs
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-arm64.tar ]]; then docker load -i ~/docker/linux-arm64.tar; fi
- docker pull dockcross/linux-arm64
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-armv5.tar ]]; then docker load -i ~/docker/linux-armv5.tar; fi
- docker pull dockcross/linux-armv5
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-armv6.tar ]]; then docker load -i ~/docker/linux-armv6.tar; fi
- docker pull dockcross/linux-armv6
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-armv7.tar ]]; then docker load -i ~/docker/linux-armv7.tar; fi
- docker pull dockcross/linux-armv7
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-ppc64le.tar ]]; then docker load -i ~/docker/linux-ppc64le.tar; fi
- docker pull dockcross/linux-ppc64le
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-x64.tar ]]; then docker load -i ~/docker/linux-x64.tar; fi
- docker pull dockcross/linux-x64
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/linux-x86.tar ]]; then docker load -i ~/docker/linux-x86.tar; fi
- docker pull dockcross/linux-x86
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/manylinux-x64.tar ]]; then docker load -i ~/docker/manylinux-x64.tar; fi
2016-09-20 17:35:18 +02:00
- docker pull dockcross/manylinux-x64
2016-09-25 05:14:33 +02:00
- if [[ -e ~/docker/manylinux-x86.tar ]]; then docker load -i ~/docker/manylinux-x86.tar; fi
- docker pull dockcross/manylinux-x86
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/windows-x64.tar ]]; then docker load -i ~/docker/windows-x64.tar; fi
- docker pull dockcross/windows-x64
2016-09-21 06:32:05 +02:00
- if [[ -e ~/docker/windows-x86.tar ]]; then docker load -i ~/docker/windows-x86.tar; fi
- docker pull dockcross/windows-x86
2016-03-02 16:21:14 +01:00
test:
override:
2016-07-16 19:55:04 +02:00
- make base.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/base > ~/docker/base.tar
2016-07-16 19:55:04 +02:00
- make android-arm.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/android-arm > ~/docker/android-arm.tar
2016-07-16 19:55:04 +02:00
- make browser-asmjs.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/browser-asmjs > ~/docker/browser-asmjs.tar
2016-07-16 19:55:04 +02:00
- make linux-arm64.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-arm64 > ~/docker/linux-arm64.tar
2016-07-16 19:55:04 +02:00
- make linux-armv5.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-armv5 > ~/docker/linux-armv5.tar
2016-07-16 19:55:04 +02:00
- make linux-armv6.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-armv6 > ~/docker/linux-armv6.tar
2016-07-16 19:55:04 +02:00
- make linux-armv7.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-armv7 > ~/docker/linux-armv7.tar
2016-07-16 19:55:04 +02:00
- make linux-ppc64le.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-ppc64le > ~/docker/linux-ppc64le.tar
2016-07-16 19:55:04 +02:00
- make linux-x64.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-x64 > ~/docker/linux-x64.tar
2016-07-16 19:55:04 +02:00
- make linux-x86.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/linux-x86 > ~/docker/linux-x86.tar
2016-09-20 17:35:18 +02:00
- make manylinux-x64.test
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/manylinux-x64 > ~/docker/manylinux-x64.tar
2016-09-25 05:14:33 +02:00
- make manylinux-x86.test
- mkdir -p ~/docker; docker save dockcross/manylinux-x86 > ~/docker/manylinux-x86.tar
2016-07-16 19:55:04 +02:00
- make windows-x64.test:
2016-04-13 03:32:13 +02:00
timeout: 3000
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/windows-x64 > ~/docker/windows-x64.tar
2016-07-16 19:55:04 +02:00
- make windows-x86.test:
2016-04-17 03:37:33 +02:00
timeout: 3000
2016-09-21 06:32:05 +02:00
- mkdir -p ~/docker; docker save dockcross/windows-x86 > ~/docker/windows-x86.tar
2016-03-02 18:24:00 +01:00
deployment:
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push dockcross/base
- docker push dockcross/android-arm
- docker push dockcross/browser-asmjs
- docker push dockcross/linux-arm64
- docker push dockcross/linux-armv5
- docker push dockcross/linux-armv6
- docker push dockcross/linux-armv7
- docker push dockcross/linux-ppc64le
- docker push dockcross/linux-x64
- docker push dockcross/linux-x86
2016-09-20 17:35:18 +02:00
- docker push dockcross/manylinux-x64
2016-09-25 05:14:33 +02:00
- docker push dockcross/manylinux-x86
- docker push dockcross/windows-x64
- docker push dockcross/windows-x86