2018-04-14 05:17:52 +02:00
|
|
|
sudo: false
|
|
|
|
|
2018-05-22 23:15:08 +02:00
|
|
|
install:
|
2018-05-22 23:20:20 +02:00
|
|
|
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz | tar xzvf -
|
2018-05-22 23:15:08 +02:00
|
|
|
|
2018-05-23 22:11:43 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env:
|
|
|
|
- TASK=build
|
|
|
|
script: ./hugo
|
|
|
|
- env:
|
|
|
|
- TASK=check
|
|
|
|
lang: rust
|
|
|
|
script: cd examples; cargo check
|
2018-05-22 23:15:08 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash .deploy.sh
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
branch: master
|
2018-05-23 22:11:43 +02:00
|
|
|
condition: $TRAVIS_PULL_REQUEST = "false" && $TASK = "build"
|