maturin 0.7.2

Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
Documentation
freebsd_instance:
  image: freebsd-12-0-release-amd64

env:
  RUST_BACKTRACE: 1

freebsd_task:
  name: $TOOLCHAIN x86_64-unknown-freebsd
  env:
    matrix:
      - TOOLCHAIN: stable
  setup_script:
    - pkg install -y curl bash python
    - curl https://sh.rustup.rs -sSf --output rustup.sh
    - sh rustup.sh -y --default-toolchain $TOOLCHAIN
    - python -m ensurepip
    - python -m pip install cffi
  build_script:
    - $HOME/.cargo/bin/rustup run $TOOLCHAIN cargo build
  test_script:
    - $HOME/.cargo/bin/rustup run $TOOLCHAIN cargo test --features skip-nightly-tests