task: name: freebsd freebsd_instance: image: freebsd-12-1-release-amd64 setup_rust_script: - pkg install -y curl git bash - curl https://sh.rustup.rs -sSf --output rustup.sh - sh rustup.sh --default-toolchain none -y --profile=minimal cargo_bin_cache: folder: ~/.cargo/bin target_cache: folder: target prepare_script: - . $HOME/.cargo/env - ./y.rs prepare test_script: - . $HOME/.cargo/env - ./y.rs test