2017-04-15 01:15:10 +08:00
|
|
|
language: bash
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
2017-11-08 10:55:58 +08:00
|
|
|
matrix:
|
|
|
|
- HUGO_VERSION=0.20.2
|
|
|
|
|
2017-05-06 15:13:18 +08:00
|
|
|
- PHP_VERSION=56 BUILD_SERVICE=workspace
|
|
|
|
- PHP_VERSION=70 BUILD_SERVICE=workspace
|
|
|
|
- PHP_VERSION=71 BUILD_SERVICE=workspace
|
2018-02-22 11:39:10 +08:00
|
|
|
- PHP_VERSION=72 BUILD_SERVICE=workspace
|
2017-05-06 15:13:18 +08:00
|
|
|
|
|
|
|
- PHP_VERSION=56 BUILD_SERVICE=php-fpm
|
|
|
|
- PHP_VERSION=70 BUILD_SERVICE=php-fpm
|
|
|
|
- PHP_VERSION=71 BUILD_SERVICE=php-fpm
|
2018-02-22 11:39:10 +08:00
|
|
|
- PHP_VERSION=72 BUILD_SERVICE=php-fpm
|
2017-05-06 15:13:18 +08:00
|
|
|
|
2017-12-10 23:18:57 +08:00
|
|
|
- PHP_VERSION=hhvm BUILD_SERVICE=hhvm
|
2017-12-10 18:26:07 +08:00
|
|
|
|
2017-12-10 23:18:57 +08:00
|
|
|
# - PHP_VERSION=56 BUILD_SERVICE=php-worker
|
|
|
|
- PHP_VERSION=70 BUILD_SERVICE=php-worker
|
|
|
|
- PHP_VERSION=71 BUILD_SERVICE=php-worker
|
2018-02-22 11:39:10 +08:00
|
|
|
- PHP_VERSION=72 BUILD_SERVICE=php-worker
|
2017-05-06 15:13:18 +08:00
|
|
|
|
2018-02-27 17:21:48 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE=solr
|
2018-02-26 17:20:10 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="mssql rethinkdb aerospike"
|
2018-04-06 09:53:04 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="blackfire minio percona nginx caddy apache2 mysql mariadb postgres postgres-postgis neo4j mongo redis"
|
2017-12-10 23:48:53 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="adminer phpmyadmin pgadmin"
|
2017-12-21 01:07:37 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 haproxy"
|
2017-12-11 12:01:23 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="kibana grafana laravel-echo-server"
|
|
|
|
# - PHP_VERSION=NA BUILD_SERVICE="aws"
|
2017-05-06 15:13:18 +08:00
|
|
|
|
2017-05-04 16:15:28 +08:00
|
|
|
# Installing a newer Docker version
|
|
|
|
before_install:
|
2017-06-29 09:25:24 +08:00
|
|
|
- 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"
|
2017-05-04 16:15:28 +08:00
|
|
|
- sudo apt-get update
|
2017-06-29 09:25:24 +08:00
|
|
|
- sudo apt-get -y install docker-ce
|
2017-06-29 09:30:37 +08:00
|
|
|
- docker version
|
2017-05-04 16:15:28 +08:00
|
|
|
|
2017-04-21 01:55:09 +08:00
|
|
|
script: ./travis-build.sh
|
2017-04-14 15:55:08 +08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
2017-04-15 01:56:18 +08:00
|
|
|
local_dir: docs
|
2017-04-14 15:55:08 +08:00
|
|
|
github_token: $GITHUB_TOKEN
|
|
|
|
on:
|
|
|
|
branch: master
|
2017-04-15 01:56:18 +08:00
|
|
|
condition: -n "${HUGO_VERSION}"
|
2017-04-14 15:55:08 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|