This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +29
-20
lines changed
Expand file tree Collapse file tree 2 files changed +29
-20
lines changed Original file line number Diff line number Diff line change 33 - stable
44 - beta
55 - nightly
6- - 1.24 .0
6+ - 1.29 .0
77env :
88 - BITCOINVERSION=0.18.0
99 - BITCOINVERSION=0.18.1
1010 - BITCOINVERSION=0.19.0.1
1111 - BITCOINVERSION=0.19.1
1212
13- matrix :
14- allow_failures :
15- rust : 1.24.0
16-
1713script :
18- - |
19- if [[ "$TRAVIS_RUST_VERSION" == stable ]]
20- then
21- rustup component add rustfmt
22- cargo fmt --all -- --check
23- fi
24- - cargo build --verbose
25- - cargo test --verbose
26- - cargo build --verbose --examples
27- # Integration test
28- - wget https://bitcoincore.org/bin/bitcoin-core-$BITCOINVERSION/bitcoin-$BITCOINVERSION-x86_64-linux-gnu.tar.gz
29- - tar -xzvf bitcoin-$BITCOINVERSION-x86_64-linux-gnu.tar.gz
30- - export PATH=$PATH:$(pwd)/bitcoin-$BITCOINVERSION/bin
31- - (cd integration_test && ./run.sh)
32-
14+ - ./contrib/test.sh
Original file line number Diff line number Diff line change 1+
2+ # Pin dependencies for Rust v1.29
3+ if [ " $TRAVIS_RUST_VERSION " = " 1.29.0" ]; then
4+ cargo generate-lockfile --verbose
5+ cargo update --verbose --package " cc" --precise " 1.0.41"
6+ cargo update --verbose --package " cfg-if" --precise " 0.1.9"
7+ cargo update --verbose --package " unicode-normalization" --precise " 0.1.9"
8+ cargo update --verbose --package " serde_json" --precise " 1.0.39"
9+ cargo update --verbose --package " serde" --precise " 1.0.98"
10+ cargo update --verbose --package " serde_derive" --precise " 1.0.98"
11+ fi
12+
13+ if [ " $TRAVIS_RUST_VERSION " = " stable" ]; then
14+ rustup component add rustfmt
15+ cargo fmt --all -- --check
16+ fi
17+
18+ cargo build --verbose
19+ cargo test --verbose
20+ cargo build --verbose --examples
21+
22+ # Integration test
23+ wget https://bitcoincore.org/bin/bitcoin-core-$BITCOINVERSION /bitcoin-$BITCOINVERSION -x86_64-linux-gnu.tar.gz
24+ tar -xzvf bitcoin-$BITCOINVERSION -x86_64-linux-gnu.tar.gz
25+ export PATH=$PATH :$( pwd) /bitcoin-$BITCOINVERSION /bin
26+ (cd integration_test && ./run.sh)
27+
You can’t perform that action at this time.
0 commit comments