contracts 0.6.3

Design-by-contract attributes
Documentation
stages:
  - fmt-check
  - test

fmt-check:
  stage: fmt-check
  image: rust:latest
  before_script: 
    - rustup component add rustfmt
  script:
    - cargo fmt --all -- --check


test-stable:
  stage: test
  image: rust:latest
  script:
    - cargo test --all


test-nightly:
  stage: test
  image: rustlang/rust:nightly
  script:
    - cargo test --all
  allow_failure: true

clippy-tests-stable:
  stage: test
  image: rust:latest
  before_script:
    - rustup component add clippy
  script:
    - cargo clippy --tests