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
|
|
|
|
|
2018-04-06 22:24:11 +08:00
|
|
|
- PHP_VERSION=5.6 BUILD_SERVICE=workspace
|
|
|
|
- PHP_VERSION=7.0 BUILD_SERVICE=workspace
|
|
|
|
- PHP_VERSION=7.1 BUILD_SERVICE=workspace
|
|
|
|
- PHP_VERSION=7.2 BUILD_SERVICE=workspace
|
2019-03-01 18:24:14 +08:00
|
|
|
- PHP_VERSION=7.3 BUILD_SERVICE=workspace
|
2017-05-06 15:13:18 +08:00
|
|
|
|
2018-04-06 22:24:11 +08:00
|
|
|
- PHP_VERSION=5.6 BUILD_SERVICE=php-fpm
|
|
|
|
- PHP_VERSION=7.0 BUILD_SERVICE=php-fpm
|
|
|
|
- PHP_VERSION=7.1 BUILD_SERVICE=php-fpm
|
|
|
|
- PHP_VERSION=7.2 BUILD_SERVICE=php-fpm
|
2019-03-01 18:24:14 +08:00
|
|
|
- PHP_VERSION=7.3 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
|
|
|
|
2018-04-06 22:24:11 +08:00
|
|
|
# - PHP_VERSION=5.6 BUILD_SERVICE=php-worker
|
|
|
|
- PHP_VERSION=7.0 BUILD_SERVICE=php-worker
|
|
|
|
- PHP_VERSION=7.1 BUILD_SERVICE=php-worker
|
|
|
|
- PHP_VERSION=7.2 BUILD_SERVICE=php-worker
|
2019-03-01 18:24:14 +08:00
|
|
|
- PHP_VERSION=7.3 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"
|
2019-07-25 14:14:50 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="blackfire minio percona nginx caddy apache2 mysql mariadb postgres postgres-postgis neo4j mongo redis cassandra"
|
2017-12-10 23:48:53 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="adminer phpmyadmin pgadmin"
|
2019-07-25 18:03:21 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="memcached beanstalkd beanstalkd-console rabbitmq elasticsearch certbot mailhog maildev selenium jenkins proxy proxy2 haproxy gearman"
|
2017-12-11 12:01:23 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="kibana grafana laravel-echo-server"
|
2019-03-06 20:50:00 +08:00
|
|
|
- PHP_VERSION=NA BUILD_SERVICE="ipython-controller manticore"
|
2017-12-11 12:01:23 +08:00
|
|
|
# - 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
|