Adds the installation of Criterion to the `install` step in the Travis configuration. A submodule is used so changes in the Criterion repository can't break the build. A submodule points to a specific commit.
[submodule "windows/dependencies/graphviz-build-utilities"]
path = windows/dependencies/graphviz-build-utilities
url = https://github.com/ErwinJanssen/graphviz-build-utilities.git
+[submodule "dependencies/criterion"]
+ path = dependencies/criterion
+ url = https://github.com/Snaipe/Criterion.git
language: c
-sudo: false
+sudo: true
addons:
apt:
packages:
- libdevil-dev
- libxaw7-dev
- freeglut3-dev
+
+install:
+# Install unit testing framework Criterion.
+- cd dependencies/criterion
+- mkdir build
+- cd build
+- cmake ..
+- cmake --build .
+- sudo make install
+- sudo ldconfig
+
script:
+- cd ${TRAVIS_BUILD_DIR}
- GRAPHVIZ_DESTINATION_FOLDER="graphviz-build"
- "./autogen.sh NOCONFIG"
- "./configure --prefix=${TRAVIS_BUILD_DIR}/${GRAPHVIZ_DESTINATION_FOLDER}"
--- /dev/null
+Subproject commit 9fbd28bf69f2f0ef0136dec70a79f7a41e9f728e