forked from beatlabs/opencensus-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (25 loc) · 680 Bytes
/
.travis.yml
File metadata and controls
29 lines (25 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: php
php:
- '7.1'
install:
- wget -O sami.phar http://get.sensiolabs.org/sami.phar
- wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.30.2/hugo_0.30.2_Linux-64bit.deb
- sudo dpkg -i /tmp/hugo.deb
script:
- pushd docs
- hugo
- popd
- cp config/sami.php config/sami-config.php
- php sami.phar update config/sami-config.php
- touch docs/.nojekyll
branches:
only:
- master
deploy:
provider: pages
local_dir: docs/public
skip_cleanup: true
email: chingor@google.com # To satisfy the CLA check, replace this with bot email.
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master