-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (66 loc) · 1.93 KB
/
.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
60
61
62
63
64
65
66
67
68
69
70
71
# Specify c language to get right CXX compiler (Travis bug https://github.com/travis-ci/travis-ci/issues/3871)
language: c
# Ubuntu 14.04 Trusty support
sudo: required
dist: trusty
#compiler:
# - clang
# - gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libeigen3-dev
- sudo apt-get install -y libopenmpi-dev
- sudo apt-get install -y libboost-all-dev
- sudo apt-get install -y libhdf5-dev
- sudo apt-get install -y libarpack2-dev
- sudo apt-get install -y libfftw3-dev
script:
- git clone https://github.com/aeantipov/gftools.git
- git clone https://github.com/ALPSCore/ALPSCore.git
- cd ALPSCore
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DTesting=OFF -DENABLE_MPI=ON -DCMAKE_INSTALL_PREFIX="../../alpscore-inst" ..
- make install
- cd ../../
- mkdir build
- cd build
- cmake -DTesting=ON -DExamples=ON -DALPSCore_DIR="/home/travis/build/aeantipov/fk_mc/alpscore-inst/share/ALPSCore" -DGFTOOLS_INCLUDE_DIR="../gftools" ..
- make VERBOSE=1
- make test
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: CXX=g++-4.9 OMPI_CXX=g++-4.9 OMPI_CC=gcc-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: CXX=g++-5 OMPI_CXX=g++-5 OMPI_CC=gcc-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: CXX=clang++-3.6 OMPI_CXX=clang++-3.6 OMPI_CC=clang-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: CXX=clang++-3.7 OMPI_CXX=clang++-3.7 OMPI_CC=clang-3.7