-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
59 lines (52 loc) · 955 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Enable C++ support
language: cpp
matrix:
include:
- os: linux
sudo: required
name: linux
- os: osx
osx_image: xcode11.3
name: OSX
addons:
apt:
packages:
- cmake
- libgsl0-dev
- libfftw3-3
- libccfits-dev
- libnfft3-dev
- libarmadillo-dev
- libboost-all-dev
homebrew:
taps: brewsci/science
packages:
- libomp
- cmake
- nfft
- gsl
- fftw
- ccfits
- armadillo
- boost
cache:
directories:
- /home/travis/build/CosmoStat/Glimpse/build/SPARSE2D
- /home/travis/build/CosmoStat/Glimpse/build/NICAEA
# Compiler selection
compiler:
- gcc
sudo: required
#
# before_install:
# - |
# if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
# eval "CC=gcc-9 && CXX=g++-9"
# fi
install: true
# Build steps
script:
- mkdir -p build && cd build
- cmake ..
- make
- ./glimpse --version