Skip to content

Commit 9f93cd8

Browse files
committed
include shunit2 as submodule and use from there
1 parent 677fbac commit 9f93cd8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tests/shunit2"]
2+
path = tests/shunit2
3+
url = https://github.com/kward/shunit2.git

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: generic
22

3-
before_script:
4-
- curl -L "https://github.com/kward/shunit2/archive/master.tar.gz" | tar zx; cp shunit2-master/shunit2 /usr/local/bin/
5-
63
os:
74
- linux
85

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ check: tests
3434
TESTS ?= $(shell cd tests; echo *_test.sh)
3535
tests: ${TESTS}
3636
%_test.sh:
37-
cd tests; shunit2 $@
37+
cd tests; shunit2/shunit2 $@
3838

3939
## build the image based on docker file and latest repository
4040
build-image:

tests/shunit2

Submodule shunit2 added at be01d25

0 commit comments

Comments
 (0)