rust-imap/.cirrus.yml
Bryce Fisher-Fleig f15bdfb458 (feat) default feature for native_tls (aka openssl)
Establishes conditional compilation for all integration with the
native_tls crate in this crate. Since native_tls has been deeply
integrated into this crate for a long time, we want to maintain
backwards compatibility by making this feature part of the default.

For a consumer of this crate to "opt-out", including this in
cargo.toml:

```
[dependencies.imap]
version = 0.16.0        # Replace this with the correct version
default-features = false
```

See the conversation on Github for details on this approach:
https://github.com/jonhoo/rust-imap/issues/123
2019-09-24 08:13:17 -07:00

25 lines
672 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
- cargo build --all-targets --verbose --no-default-features
test_script:
- . $HOME/.cargo/env
- cargo test --examples
- cargo test --doc
- cargo test --lib