In order to discourage folks from connecting securely, we're removing the convenience method imap::connect_insecure. Fear not\! For those who manage security in another way (aka a private network or similar measures), it is still possible to connect without TLS by using the imap::Client::new() method. See that method for examples of how to do this.
24 lines
608 B
YAML
24 lines
608 B
YAML
task:
|
|
name: stable-x86_64-unknown-freebsd
|
|
freebsd_instance:
|
|
matrix:
|
|
- image: freebsd-12-0-release-amd64
|
|
- image: freebsd-11-2-release-amd64
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
setup_script:
|
|
- pkg install -y curl git
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
- sh rustup.sh -y
|
|
- . $HOME/.cargo/env
|
|
check_script:
|
|
- . $HOME/.cargo/env
|
|
- cargo check --all-targets
|
|
build_script:
|
|
- . $HOME/.cargo/env
|
|
- cargo build --all-targets --verbose
|
|
test_script:
|
|
- . $HOME/.cargo/env
|
|
- cargo test --examples
|
|
- cargo test --doc
|
|
- cargo test --lib
|