@@ -22,15 +22,14 @@ rust:
2222 - 1.21.0
2323 - stable
2424 - beta
25- - nightly
2625
2726env :
28- - FEATURES="native_lib"
2927 - FEATURES=""
28+ - FEATURES="client_native"
29+ - FEATURES="server_native"
30+ - FEATURES="client_native server_native"
3031
3132matrix :
32- allow_failures :
33- - rust : nightly
3433 include :
3534 - rust : stable
3635 env : BUILD_FMT=1
@@ -98,9 +97,13 @@ script:
9897 rustfmt --check tests/scanner_assets/*.rs
9998 elif [ -n "$TARPAULIN" ]; then
10099 cargo tarpaulin --all --features "" --ignore-tests --out Xml
101- bash <(curl -s https://codecov.io/bash) -cF rust_impl
102- cargo tarpaulin --all --features "native_lib" --ignore-tests --out Xml
103- bash <(curl -s https://codecov.io/bash) -cF native_lib
100+ bash <(curl -s https://codecov.io/bash) -cF full_rust
101+ cargo tarpaulin --all --features "client_native" --ignore-tests --out Xml
102+ bash <(curl -s https://codecov.io/bash) -cF client_native
103+ cargo tarpaulin --all --features "server_native" --ignore-tests --out Xml
104+ bash <(curl -s https://codecov.io/bash) -cF server_native
105+ cargo tarpaulin --all --features "client_native server_native" --ignore-tests --out Xml
106+ bash <(curl -s https://codecov.io/bash) -cF both_native
104107 elif [ -n "$CLIPPY" ]; then
105108 # - renamed_and_removed and deprecared_cfg_attr are necessary because rust 1.21.0 cannot parse
106109 # stuff like #[allow(clippy::all)] or #[rustfmt::skip]
@@ -109,16 +112,15 @@ script:
109112 -A renamed_and_removed_lints \
110113 -A clippy::deprecated_cfg_attr \
111114 -A clippy::for_loop_over_option
112- cargo clippy --all --features "native_lib " -- -D warnings \
115+ cargo clippy --all --features "client_native server_native " -- -D warnings \
113116 -A renamed_and_removed_lints \
114117 -A clippy::deprecated_cfg_attr \
115118 -A clippy::for_loop_over_option
116-
117119 elif [ -n "$BUILD_DOC" ]; then
118120 cargo doc --all --no-deps --all-features
119121 elif [ -n "$TARGET" ]; then
120122 cross build --all --target "$TARGET"
121- cross build --all --target "$TARGET" --features "native_lib "
123+ cross build --all --target "$TARGET" --features "client_native server_native "
122124 else
123125 cargo test --all --features "$FEATURES"
124126 fi
0 commit comments