forked from seanmonstar/reqwest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (41 loc) · 1.15 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: rust
matrix:
fast_finish: true
allow_failures:
- rust: nightly
include:
- os: osx
rust: stable
- rust: stable
- rust: beta
- rust: nightly
# Disable default-tls
- rust: stable
env: FEATURES="--no-default-features"
# rustls-tls
- rust: stable
env: FEATURES="--no-default-features --features rustls-tls"
# default-tls and rustls-tls
- rust: stable
env: FEATURES="--features rustls-tls"
- rust: stable
env: FEATURES="--features hyper-011"
- rust: stable
env: FEATURES="--features trust-dns"
# android
- rust: stable
env: TARGET=aarch64-linux-android
install: rustup target add "$TARGET"
# disable default-tls feature since cross-compiling openssl is dragons
script: cargo build --target "$TARGET" --no-default-features
# minimum version
- rust: 1.30.0
script: cargo build
sudo: false
dist: trusty
env:
global:
- REQWEST_TEST_BODY_FULL=1
script:
- cargo build $FEATURES
- cargo test -v $FEATURES