Skip to content

Commit 5e8ec14

Browse files
committed
Enable cmake for CI
1 parent d2ad441 commit 5e8ec14

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ addons:
1515
- ubuntu-toolchain-r-test
1616
packages:
1717
- gfortran-4.9
18+
- cmake
1819

1920
env:
2021
matrix:
22+
# Using configure and make, run the tests.
2123
- >
2224
BUILD_SCRIPT="FC='gfortran -fno-backtrace' ./configure &&
2325
make -j 2 && make -j 2 check"
2426
27+
# Using cmake - just build, tests not working yet.
28+
- >
29+
BUILD_SCRIPT="mkdir cmake_build/ && cd cmake_build &&
30+
cmake ../ && make -j 2"
31+
2532
install:
2633
- |
2734
if [[ ! -d "$HOME/.local/bin" ]]; then

0 commit comments

Comments
 (0)