Streamline test building target

Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
This commit is contained in:
Jacob Torrey 2016-08-22 17:43:43 -06:00 committed by Jacob Torrey
parent 14915c24d7
commit 256dec0601
2 changed files with 2 additions and 3 deletions

View file

@ -38,7 +38,6 @@ matrix:
install: install:
- sudo apt-get -y install libboost-{chrono,program-options,date-time,thread,system,filesystem,regex,serialization}1.58{-dev,.0} - sudo apt-get -y install libboost-{chrono,program-options,date-time,thread,system,filesystem,regex,serialization}1.58{-dev,.0}
script: script:
- make debug-all
- make debug-test - make debug-test
after_success: after_success:
- coveralls --exclude external --exclude tests -e cmake -e contrib -e translations -e utils --gcov-options '\-lp' - coveralls --exclude external --exclude tests -e cmake -e contrib -e translations -e utils --gcov-options '\-lp'

View file

@ -35,9 +35,9 @@ cmake-debug:
debug: cmake-debug debug: cmake-debug
cd build/debug && $(MAKE) cd build/debug && $(MAKE)
debug-test: debug debug-test:
mkdir -p build/debug mkdir -p build/debug
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) test cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) && $(MAKE) test
debug-all: debug-all:
mkdir -p build/debug mkdir -p build/debug