Simple Rust Pipeline on Bitbucket

Bitbucket offers a builtin execution pipeline (Docker based), here is a minimal configuration to have your Rust test running:

# This is a sample build configuration for all languages.
# Check our guides at for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: python:2.7

    - step:
          - curl -sSf | sh -s -- --default-toolchain nightly -y
          - source $HOME/.cargo/env
          - cargo test