-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 976 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
branches:
except:
- gridder
- x
- no_legion_subproject
dist: focal
language: cpp
env:
global:
- MAKEFLAGS="-j 2"
compiler:
- gcc
before_install:
- sudo apt-get install -y git-lfs gfortran libhdf5-dev libhdf5-103 flex bison liblapack-dev libcfitsio8 libcfitsio-dev wcslib-dev libwcs7 casacore-dev casacore-data doxygen libfftw3-single3 libfftw3-dev libyaml-cpp-dev
install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
- travis_retry wget --no-check-certificate https://cmake.org/files/v3.14/cmake-3.14.7-Linux-x86_64.tar.gz
- tar -xvf cmake-3.14.7-Linux-x86_64.tar.gz > /dev/null
- mv cmake-3.14.7-Linux-x86_64 cmake-install
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
- cd ${TRAVIS_BUILD_DIR}
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DMAX_DIM=4 -DUSE_CASACORE=ON -DUSE_HDF5=ON ..
script:
- make
- CTEST_OUTPUT_ON_FAILURE=1 make test