kind: pipeline
name: default
steps:
- name: test
image: rust:1.33
commands:
- cargo build --verbose --all
- cargo test --verbose --all -- --test-threads=1
- name: publish
image: rust:1.33
environment:
TOKEN:
from_secret: crates_token
commands:
- cargo package
- cargo publish --token $TOKEN