dockcross/circle.yml
2016-09-20 18:07:58 -04:00

62 lines
2.0 KiB
YAML

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
services:
- docker
dependencies:
override:
- docker info
- docker pull dockcross/base
- docker pull dockcross/android-arm
- docker pull dockcross/browser-asmjs
- docker pull dockcross/linux-arm64
- docker pull dockcross/linux-armv5
- docker pull dockcross/linux-armv6
- docker pull dockcross/linux-armv7
- docker pull dockcross/linux-ppc64le
- docker pull dockcross/linux-x64
- docker pull dockcross/linux-x86
- docker pull dockcross/manylinux-x64
- docker pull dockcross/windows-x64
- docker pull dockcross/windows-x86
test:
override:
- make base.test
- make android-arm.test
- make browser-asmjs.test
- make linux-arm64.test
- make linux-armv5.test
- make linux-armv6.test
- make linux-armv7.test
- make linux-ppc64le.test
- make linux-x64.test
- make linux-x86.test
- make manylinux-x64.test
- make windows-x64.test:
timeout: 3000
- make windows-x86.test:
timeout: 3000
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
- docker push dockcross/manylinux-x64
- docker push dockcross/windows-x64
- docker push dockcross/windows-x86