Docker-PHP/.travis.yml

94 lines
2.8 KiB
YAML
Raw Normal View History

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
script:
- travis_retry make $BUILD
2019-08-14 15:34:54 +00:00
2019-08-15 14:22:42 +00:00
after_success:
- travis_retry docker push $BUILD
#deploy:
# provider: script
# script: travis_retry docker push $BUILD
# 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:
2019-08-15 15:00:26 +00:00
- BUILD=gone/php:cli
- BUILD=gone/php:cli-onbuild
- BUILD=gone/php:apache
- BUILD=gone/php:apache-onbuild
- BUILD=gone/php:nginx
- BUILD=gone/php:nginx-onbuild
2019-08-15 14:13:56 +00:00
- BUILD=gone/marshall
- BUILD=gone/php:core-5.6
- BUILD=gone/php:core-7.0
- BUILD=gone/php:core-7.1
- BUILD=gone/php:core-7.2
- BUILD=gone/php:core-7.3
- BUILD=gone/php:cli-5.6
- BUILD=gone/php:cli-5.6-onbuild
- BUILD=gone/php:cli-7.0
- BUILD=gone/php:cli-7.0-onbuild
- BUILD=gone/php:cli-7.1
- BUILD=gone/php:cli-7.1-onbuild
- BUILD=gone/php:cli-7.2
- BUILD=gone/php:cli-7.2-onbuild
- BUILD=gone/php:cli-7.3
- BUILD=gone/php:cli-7.3-onbuild
- BUILD=gone/php:apache-5.6
- BUILD=gone/php:apache-5.6-onbuild
- BUILD=gone/php:apache-7.0
- BUILD=gone/php:apache-7.0-onbuild
- BUILD=gone/php:apache-7.1
- BUILD=gone/php:apache-7.1-onbuild
- BUILD=gone/php:apache-7.2
- BUILD=gone/php:apache-7.2-onbuild
- BUILD=gone/php:apache-7.3
- BUILD=gone/php:apache-7.3-onbuild
- BUILD=gone/php:nginx-5.6
- BUILD=gone/php:nginx-5.6-onbuild
- BUILD=gone/php:nginx-7.0
- BUILD=gone/php:nginx-7.0-onbuild
- BUILD=gone/php:nginx-7.1
- BUILD=gone/php:nginx-7.1-onbuild
- BUILD=gone/php:nginx-7.2
- BUILD=gone/php:nginx-7.2-onbuild
- BUILD=gone/php:nginx-7.3
- BUILD=gone/php:nginx-7.3-onbuild
- 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