2019-02-06 11:56:44 +00:00
|
|
|
language: rust
|
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
|
|
|
|
cache: cargo
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- rustup component add rustfmt-preview
|
|
|
|
|
|
|
|
script:
|
|
|
|
- cargo fmt --all -- --check
|
2019-09-13 14:21:21 +01:00
|
|
|
- cargo test --all
|
2019-02-06 11:56:44 +00:00
|
|
|
|
2019-09-13 14:25:35 +01:00
|
|
|
deploy:
|
|
|
|
provider: heroku
|
|
|
|
api_key: $HEROKU_API_KEY
|
|
|
|
app: orgize
|
|
|
|
|
2019-02-06 11:56:44 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_failure: change
|
|
|
|
on_success: change
|