forked from bitcoindevkit/rust-electrum-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (24 loc) · 903 Bytes
/
.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
language: rust
rust:
- stable
# - 1.31.0 TODO: support the first 2018-edition toolchain
env:
- TEST_ELECTRUM_SERVER=electrum.blockstream.info:50001
- TEST_ELECTRUM_SERVER=bitcoin.aranguren.org:50001
before_script:
- rustup component add rustfmt
# Run tests and check a few combinations of features
script:
- cargo fmt -- --check --verbose
- cargo test --verbose --all
- cargo check --verbose --features=use-openssl
- cargo check --verbose --no-default-features --features=proxy
- cargo check --verbose --no-default-features --features=minimal
- cargo check --verbose --no-default-features --features=minimal,debug-calls
- cargo check --verbose --no-default-features --features=proxy,use-openssl
- cargo check --verbose --no-default-features --features=proxy,use-rustls
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"
cache: cargo
notifications:
email: false