1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00
actix-website/.travis.yml

28 lines
544 B
YAML
Raw Normal View History

2018-04-14 05:17:52 +02:00
sudo: false
2018-05-23 22:14:08 +02:00
cache:
directories:
- $HOME/cargo
- $TRAVIS_BUILD_DIR/examples/target
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
2018-05-23 22:12:35 +02:00
language: rust
2018-05-23 22:11:43 +02:00
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"