machine: environment: PATH: $HOME/.cargo/bin:$PATH dependencies: pre: - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y - rustup update test: override: - cargo build deployment: production: branch: master commands: - cargo login $CARGO_API_KEY - rm ~/.gitconfig - cargo publish