From 5e8ec14b30b6145fd695e9462bafb4f826aa8730 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Tue, 29 Dec 2015 11:13:30 +0000 Subject: [PATCH] Enable cmake for CI --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8d18398c..55f8b36c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,13 +15,20 @@ addons: - ubuntu-toolchain-r-test packages: - gfortran-4.9 + - cmake env: matrix: + # Using configure and make, run the tests. - > BUILD_SCRIPT="FC='gfortran -fno-backtrace' ./configure && make -j 2 && make -j 2 check" + # Using cmake - just build, tests not working yet. + - > + BUILD_SCRIPT="mkdir cmake_build/ && cd cmake_build && + cmake ../ && make -j 2" + install: - | if [[ ! -d "$HOME/.local/bin" ]]; then