Skip to content

Commit 18cffe0

Browse files
committed
debug bashcov
1 parent a121c91 commit 18cffe0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
language: generic
22

33
before_script:
4+
- gem install codecov
45
- git clone https://github.com/albfan/bashcov.git
56
- cd bashcov/
7+
- git checkout debug
68
- gem build bashcov.gemspec
79
- gem install bashcov-1.2.1.gem
810
- cd ..
911
- rm -rf bashcov/
10-
- gem install codecov
1112
- export PATH=$PATH:$PWD
1213

1314
script:
14-
- bashcov -r codecov:SimpleCov::Formatter::Codecov -- script.sh
15+
- pwd
16+
- ls
17+
- bashcov -r codecov:SimpleCov::Formatter::Codecov -- script.sh

script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/sh
2+
13
a_function(){
24
echo "$1"
35
if [ "$1" = "1" ];

0 commit comments

Comments
 (0)