Commit 40837b4c authored by willem's avatar willem
Browse files

Added coveralls

parent 72f03664
script: "make"
before_install:
- sudo pip install cpp-coveralls --use-mirrors
script:
- make
after_success:
- coveralls --exclude lib
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment