test all features
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-06-23 19:15:51 +02:00
parent 0a2a054233
commit 5bf210dc73

View File

@@ -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