File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 11language : rust
2+ # do not run any default scripts coming from `language: rust` (i.e. travis-ci)
3+ script :
4+ install :
5+ - which cargo-make || cargo install cargo-make
6+ # Also don't cache the cargo registry
7+ before_cache :
8+ - rm -rf /home/travis/.cargo/registry
29rust :
3- - stable
10+ - 1.48.0
411os : linux
512# add nodejs for ganche-cli
613node_js : " 12.12.0"
@@ -25,22 +32,19 @@ jobs:
2532 include :
2633 - stage : test
2734 script :
28- - which cargo-make || cargo install cargo-make
2935 - cargo make ci-flow
30- # But don't cache the cargo registry
31- before_cache :
32- - rm -rf /home/travis/.cargo/registry
3336 - stage : deploy
3437 if : (tag IS present) AND (tag =~ ^validator-v)
3538 before_deploy :
3639 - cargo build -p validator_worker --release --all-features --target x86_64-unknown-linux-gnu
3740 - cp target/x86_64-unknown-linux-gnu/release/validator_worker $TRAVIS_TAG
3841 deploy :
3942 provider : releases
40- api_key : $GITHUB_API_TOKEN
43+ token : $GITHUB_API_TOKEN
4144 file : $TRAVIS_BUILD_DIR/$TRAVIS_TAG
42- skip_cleanup : true
45+ cleanup : false
4346 draft : true
4447 on :
4548 tags : true
4649 all_branches : true
50+ edge : true
Original file line number Diff line number Diff line change 11[package ]
22name = " validator_worker"
3- version = " 0.1 .0"
3+ version = " 0.2 .0"
44authors = [" Lachezar Lechev <lachezar@adex.network>" , " Samparsky <sam@adex.network>" ]
55edition = " 2018"
66
You can’t perform that action at this time.
0 commit comments