Fix travis ci errors

Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
Tilo Spannagel 2020-08-21 19:10:52 +02:00
parent 5f10f4301c
commit a57c6159bd
2 changed files with 10 additions and 4 deletions

View file

@ -31,17 +31,23 @@ jobs:
- os: windows
script:
- cd matrix_sdk
- cargo test --no-default-features --features "messages"
- cargo test --no-default-features --features "messages, native-tls"
- cd ../matrix_sdk_base
- cargo test --no-default-features --features "messages"
- os: osx
- os: linux
name: Minimal build
name: native-tls build
script:
- cd matrix_sdk
- cargo build --no-default-features
- cargo build --no-default-features --features "native-tls"
- os: linux
name: rustls-tls build
script:
- cd matrix_sdk
- cargo build --no-default-features --features "rustls-tls"
- os: osx
name: macOS 10.15

View file

@ -10,7 +10,7 @@ edition = "2018"
crate-type = ["cdylib"]
[dependencies]
matrix-sdk = { path = "../..", default-features = false }
matrix-sdk = { path = "../..", default-features = false, features = ["native-tls"] }
url = "2.1.1"
wasm-bindgen = { version = "0.2.62", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.12"