fix(ci): only build orgize-sync with rust nightly
This commit is contained in:
parent
b1eea3d382
commit
e692084fea
|
@ -1,6 +1,7 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
|
- nightly
|
||||||
|
|
||||||
cache: cargo
|
cache: cargo
|
||||||
|
|
||||||
|
@ -9,12 +10,18 @@ before_script:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
- cargo test --all
|
- if [ $TRAVIS_RUST_VERSION == "stable" ]; then
|
||||||
|
cargo test -p orgize-demos -p orgize;
|
||||||
|
else
|
||||||
|
cargo test -p orgize-sync;
|
||||||
|
fi
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: heroku
|
provider: heroku
|
||||||
api_key: $HEROKU_API_KEY
|
api_key: $HEROKU_API_KEY
|
||||||
app: orgize
|
app: orgize
|
||||||
|
on:
|
||||||
|
condition: "$TRAVIS_RUST_VERSION == stable"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
Loading…
Reference in a new issue