This repository was archived by the owner on Apr 13, 2021. It is now read-only.
File tree 2 files changed +23
-16
lines changed
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 7
7
- 1.14.0 # rustc on debian stable
8
8
cache : cargo
9
9
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
21
15
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
27
20
28
21
before_install :
29
22
- sudo apt-get update
You can’t perform that action at this time.
0 commit comments