26 lines
341 B
YAML
26 lines
341 B
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
|
|
cache: cargo
|
|
|
|
before_script:
|
|
- rustup component add rustfmt-preview
|
|
|
|
script:
|
|
- cargo fmt --all -- --check
|
|
- cargo test --all
|
|
|
|
before_deploy:
|
|
- cd orgize-demos/
|
|
|
|
deploy:
|
|
provider: heroku
|
|
api_key: $HEROKU_API_KEY
|
|
app: orgize
|
|
|
|
notifications:
|
|
email:
|
|
on_failure: change
|
|
on_success: change
|