stages:
- build
- test
- publish
build:
stage: build
image: rust:latest
script:
- cargo test --verbose
test:
stage: test
image: rust:latest
script:
- cargo test --verbose
publish:
stage: publish
image: rust:latest
script:
- cargo publish --token "$CRATESIO_TOKEN"
only:
- tags