Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
40837b4c
Commit
40837b4c
authored
Feb 14, 2014
by
willem
Browse files
Added coveralls
parent
72f03664
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
40837b4c
script
:
"
make"
before_install
:
-
sudo pip install cpp-coveralls --use-mirrors
script
:
-
make
after_success
:
-
coveralls --exclude lib
Makefile
View file @
40837b4c
...
...
@@ -27,6 +27,7 @@ $(TEST_DIR)/main_test.c:
tests_main
:
raft_server.c raft_server_properties.c raft_log.c raft_node.c $(TEST_DIR)/main_test.c $(TEST_DIR)/test_server.c $(TEST_DIR)/test_node.c $(TEST_DIR)/test_log.c $(TEST_DIR)/test_scenario.c $(TEST_DIR)/mock_send_functions.c $(TEST_DIR)/CuTest.c $(LLQUEUE_DIR)/linked_list_queue.c
$(CC)
$(CCFLAGS)
-o
$@
$^
./tests_main
gcov
$(TEST_DIR)
/main_test.c raft_server.c
clean
:
rm
-f
$(TEST_DIR)
/main_test.c
*
.o
$(GCOV_OUTPUT)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment