aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--Makefile1
-rw-r--r--src/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 3fa30f9..8ea6ca5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,9 +27,8 @@ before_install:
- sudo dpkg --force-all -i libreadline7_7.0-0ubuntu2_amd64.deb libpari-gmp-tls5_2.9.1-1_amd64.deb libpari-dev_2.9.1-1_amd64.deb pari-gp_2.9.1-1_amd64.deb
script:
- - make -j2
- mkdir cmake && cd cmake && cmake .. && make -j2 && cd ..
- - TEST=1 make test
+ - TEST=1 make -j2 test
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/Makefile b/Makefile
index d48eba3..f602e94 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ all:
clean:
+$(MAKE) -C src clean
+ rm *.gcov
clean-all:
+$(MAKE) -C lib clean
diff --git a/src/Makefile b/src/Makefile
index 0fc33d8..8d62612 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,7 +15,7 @@ else
CFLAGS += -DNDEBUG -O3
endif
ifeq ($(TEST), 1)
- CFLAGS += -fprofile-arcs -ftest-coverage
+ CFLAGS += --coverage
endif
LDFLAGS = -L../lib/parson -L../lib/sha1 -L../lib/pari