This repository was archived by the owner on Apr 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 1+ shopt -s extglob
2+
3+ rm -r target
4+ cargo test
5+ mkdir target/kcov target/kcov/unit target/kcov/integration target/kcov/merged
6+ ls target
7+ kcov --verify target/kcov/unit target/debug/lightning_invoice-! (* .d)
8+ kcov --verify target/kcov/integration target/debug/ser_de-! (* .d)
9+ kcov --include-pattern=" $( pwd) /src" --merge target/kcov/merged target/kcov/unit target/kcov/integration
10+ find . -type l | xargs -n 1 rm
11+
12+ git add -f target/kcov
13+ git commit -m " last kcov result"
14+ git push -f https://sgeisler:$GITHUB_TOKEN @github.com/rust-bitcoin/rust-lightning-invoice.git HEAD:gh-pages
Original file line number Diff line number Diff line change 77 - 1.14.0 # rustc on debian stable
88cache : cargo
99
10- script :
11- - cargo test
12-
13- deploy :
14- provider : pages
15- skip-cleanup : true
16- github-token : $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
17- keep-history : true
18- local-dir : target/kcov/merged
19- on :
20- branch : master
10+ jobs :
11+ include :
12+ - stage : test
13+ script : cargo test
14+ - stage : coverage
2115 rust : stable
22- script :
23- - mkdir target/kcov target/kcov/unit target/kcov/integration target/kcov/merged
24- - kcov target/kcov/unit target/debug/lightning_invoice-!(*.d)
25- - kcov target/kcov/integration target/debug/ser_de-!(*.d)
26- - kcov target/kcov/unit target/debug/lightning_invoice-!(*.d)
16+ branches :
17+ only :
18+ - master
19+ script : bash .travis-kcov.sh
2720
2821before_install :
2922 - sudo apt-get update
You can’t perform that action at this time.
0 commit comments