test all features
This commit is contained in:
parent
0a2a054233
commit
5bf210dc73
@ -10,7 +10,7 @@ steps:
|
|||||||
- name: test
|
- name: test
|
||||||
image: rust:1.43.0
|
image: rust:1.43.0
|
||||||
commands:
|
commands:
|
||||||
- cargo test
|
- cargo test --all-features
|
||||||
- name: publish
|
- name: publish
|
||||||
image: rust:1.43.0
|
image: rust:1.43.0
|
||||||
environment:
|
environment:
|
||||||
@ -18,7 +18,7 @@ steps:
|
|||||||
from_secret: cargo_tkn
|
from_secret: cargo_tkn
|
||||||
commands:
|
commands:
|
||||||
- grep -E 'version ?= ?"${DRONE_TAG}"' -i Cargo.toml || (printf "incorrect crate/tag version" && exit 1)
|
- grep -E 'version ?= ?"${DRONE_TAG}"' -i Cargo.toml || (printf "incorrect crate/tag version" && exit 1)
|
||||||
- cargo package
|
- cargo package --all-features
|
||||||
- cargo publish
|
- cargo publish --all-features
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user