2019-08-15 12:06:57 +00:00
|
|
|
language: sh
|
2019-08-14 15:34:54 +00:00
|
|
|
|
2019-08-15 13:00:05 +00:00
|
|
|
before_install:
|
|
|
|
|
- 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
|
|
|
|
|
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
2019-08-15 08:08:09 +00:00
|
|
|
- sudo rm /usr/local/bin/docker-compose
|
|
|
|
|
- curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` > docker-compose
|
|
|
|
|
- chmod +x docker-compose
|
|
|
|
|
- sudo mv docker-compose /usr/local/bin
|
2019-08-14 15:34:54 +00:00
|
|
|
|
2019-08-15 13:00:05 +00:00
|
|
|
before_script:
|
|
|
|
|
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD $DOCKER_REGISTRY
|
2019-08-15 13:51:10 +00:00
|
|
|
- git rev-parse --short HEAD > marshall/marshall_version
|
|
|
|
|
- date +%Y-%m-%d\ %H:%M:%S > marshall/marshall_build_date
|
|
|
|
|
- hostname > marshall/marshall_build_host
|
2019-08-15 13:00:05 +00:00
|
|
|
|
|
|
|
|
script:
|
2019-08-15 14:07:45 +00:00
|
|
|
- travis_retry make $BUILD
|
2019-08-14 15:34:54 +00:00
|
|
|
|
2019-08-15 08:08:09 +00:00
|
|
|
deploy:
|
|
|
|
|
provider: script
|
2019-08-15 14:07:45 +00:00
|
|
|
script: travis_retry docker push $BUILD
|
2019-08-15 08:08:09 +00:00
|
|
|
on:
|
|
|
|
|
branch: master
|
2019-08-14 15:34:54 +00:00
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
|
email:
|
|
|
|
|
- matthew@baggett.me
|
|
|
|
|
|
2019-08-15 12:55:28 +00:00
|
|
|
matrix:
|
|
|
|
|
fast_finish: true
|
|
|
|
|
|
2019-08-14 15:34:54 +00:00
|
|
|
env:
|
2019-08-15 12:45:50 +00:00
|
|
|
matrix:
|
|
|
|
|
- BUILD=gone/marshall
|
|
|
|
|
- BUILD=gone/php:core-56
|
|
|
|
|
- BUILD=gone/php:core-70
|
|
|
|
|
- BUILD=gone/php:core-71
|
|
|
|
|
- BUILD=gone/php:core-72
|
|
|
|
|
- BUILD=gone/php:core-73
|
|
|
|
|
- BUILD=gone/php:cli-56
|
|
|
|
|
- BUILD=gone/php:cli-56-onbuild
|
|
|
|
|
- BUILD=gone/php:cli-70
|
|
|
|
|
- BUILD=gone/php:cli-70-onbuild
|
|
|
|
|
- BUILD=gone/php:cli-71
|
|
|
|
|
- BUILD=gone/php:cli-71-onbuild
|
|
|
|
|
- BUILD=gone/php:cli-72
|
|
|
|
|
- BUILD=gone/php:cli-72-onbuild
|
|
|
|
|
- BUILD=gone/php:cli-73
|
|
|
|
|
- BUILD=gone/php:cli-73-onbuild
|
|
|
|
|
- BUILD=gone/php:apache-56
|
|
|
|
|
- BUILD=gone/php:apache-56-onbuild
|
|
|
|
|
- BUILD=gone/php:apache-70
|
|
|
|
|
- BUILD=gone/php:apache-70-onbuild
|
|
|
|
|
- BUILD=gone/php:apache-71
|
|
|
|
|
- BUILD=gone/php:apache-71-onbuild
|
|
|
|
|
- BUILD=gone/php:apache-72
|
|
|
|
|
- BUILD=gone/php:apache-72-onbuild
|
|
|
|
|
- BUILD=gone/php:apache-73
|
|
|
|
|
- BUILD=gone/php:apache-73-onbuild
|
|
|
|
|
- BUILD=gone/php:nginx-56
|
|
|
|
|
- BUILD=gone/php:nginx-56-onbuild
|
|
|
|
|
- BUILD=gone/php:nginx-70
|
|
|
|
|
- BUILD=gone/php:nginx-70-onbuild
|
|
|
|
|
- BUILD=gone/php:nginx-71
|
|
|
|
|
- BUILD=gone/php:nginx-71-onbuild
|
|
|
|
|
- BUILD=gone/php:nginx-72
|
|
|
|
|
- BUILD=gone/php:nginx-72-onbuild
|
|
|
|
|
- BUILD=gone/php:nginx-73
|
|
|
|
|
- BUILD=gone/php:nginx-73-onbuild
|
|
|
|
|
- BUILD=gone/php:cli-latest
|
|
|
|
|
- BUILD=gone/php:cli-onbuild-latest
|
|
|
|
|
- BUILD=gone/php:apache-latest
|
|
|
|
|
- BUILD=gone/php:apache-onbuild-latest
|
|
|
|
|
- BUILD=gone/php:nginx-latest
|
2019-08-15 14:07:45 +00:00
|
|
|
- BUILD=gone/php:nginx-onbuild-latest
|
|
|
|
|
- BUILD=gone/node:8
|
|
|
|
|
- BUILD=gone/node:8-onbuild
|
|
|
|
|
- BUILD=gone/node:8-compiler
|
|
|
|
|
- BUILD=gone/node:8-compiler-onbuild
|
|
|
|
|
- BUILD=gone/node:10
|
|
|
|
|
- BUILD=gone/node:10-onbuild
|
|
|
|
|
- BUILD=gone/node:10-compiler
|
|
|
|
|
- BUILD=gone/node:10-compiler-onbuild
|
|
|
|
|
- BUILD=gone/node:11
|
|
|
|
|
- BUILD=gone/node:11-onbuild
|
|
|
|
|
- BUILD=gone/node:11-compiler
|
|
|
|
|
- BUILD=gone/node:11-compiler-onbuild
|
|
|
|
|
- BUILD=gone/node:12
|
|
|
|
|
- BUILD=gone/node:12-onbuild
|
|
|
|
|
- BUILD=gone/node:12-compiler
|
|
|
|
|
- BUILD=gone/node:12-compiler-onbuild
|