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
|
|
|
|
- HUGO_VERSION=0.20
|
|
|
|
|
2017-04-15 02:54:47 +08:00
|
|
|
script: ./_scripts/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
|