Streamline release-test target

When Travis builds and tests, time is limited per build, so the overhead of re-calling CMake can push it over the limit.
This commit is contained in:
Jacob Torrey 2016-08-26 13:50:03 -06:00 committed by Jacob Torrey
parent baf4574ad5
commit e0bf02a6ce

View file

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