2017-04-15 01:15:10 +08:00
|
|
|
language: bash
|
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- PHP_VERSION=56
|
|
|
|
- PHP_VERSION=70
|
|
|
|
- PHP_VERSION=71
|
2017-04-21 07:56:59 +08:00
|
|
|
- HUGO_VERSION=0.20.2
|
2017-04-15 01:15:10 +08:00
|
|
|
|
2017-05-04 16:15:28 +08:00
|
|
|
# Installing a newer Docker version
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
|
|
|
|
|
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
|