freebsd_instance:
image_family: freebsd-12-2
env:
RUST_BACKTRACE: 1
freebsd_task:
name: $TOOLCHAIN x86_64-unknown-freebsd
env:
matrix:
- TOOLCHAIN: stable
install_script:
- pkg install -y curl bash python
setup_script:
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --default-toolchain $TOOLCHAIN
- python -m ensurepip
- python -m pip install --upgrade cffi virtualenv
build_script:
- $HOME/.cargo/bin/rustup run $TOOLCHAIN cargo build
test_script:
- $HOME/.cargo/bin/rustup run $TOOLCHAIN cargo test