mirror of
https://github.com/actix/actix-website
synced 2024-11-24 00:41:07 +01:00
Run rust checks
This commit is contained in:
parent
93995e185f
commit
116dd38665
13
.travis.yml
13
.travis.yml
@ -3,8 +3,15 @@ sudo: false
|
|||||||
install:
|
install:
|
||||||
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz | tar xzvf -
|
- curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz | tar xzvf -
|
||||||
|
|
||||||
script:
|
matrix:
|
||||||
- ./hugo
|
include:
|
||||||
|
- env:
|
||||||
|
- TASK=build
|
||||||
|
script: ./hugo
|
||||||
|
- env:
|
||||||
|
- TASK=check
|
||||||
|
lang: rust
|
||||||
|
script: cd examples; cargo check
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
@ -12,4 +19,4 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
condition: $TRAVIS_PULL_REQUEST = "false"
|
condition: $TRAVIS_PULL_REQUEST = "false" && $TASK = "build"
|
||||||
|
Loading…
Reference in New Issue
Block a user