-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
54 lines (48 loc) · 1.62 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
dist: xenial
language: cpp
comiler:
- gcc
- clang
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:libreoffice/ppa
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-4.7 gfortran openmpi-bin openmpi-common libopenmpi-dev libnetcdf11 libnetcdf-dev libnuma1 libnuma-dev cmake doxygen graphviz texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-font-utils ghostscript
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 50 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7
- sudo update-alternatives --set gcc /usr/bin/gcc-4.7
env:
global:
secure: "ZBhx5ai3VyZ223k5WEAVkC9Av1IqmHpyd4leKkMUrRc7ht2Zy4E3qus+Po3Y0XvwjAfeuR4ObFh69W5rZyq0YSfRCKSNianeBvalZ1mZQ5siOv37rf2OIweuRMjXwPrjXS40ctPamog9rK2/CmXb5jkQ2A08sr32dx3fiIU/gZk="
branches:
except:
- gh-pages
script:
- mkdir build && cd build && cmake ../ -DTESTS=ON -DMPI3=OFF
- make
- make test
- make doc
- make devdoc
- cd ..
- mkdir build_numa && cd build_numa && cmake ../ -DTESTS=ON -DDEBUG_NUMA=ON -DMPI3=OFF
- make
- make test
- cd ..
- mkdir build_nonuma && cd build_nonuma && cmake ../ -DTESTS=ON -DNONUMA=ON -DMPI3=OFF
- make
- make test
- cd ..
- mkdir build_nompi && cd build_nompi && cmake ../ -DTESTS=ON -DNOMPI=ON -DDEBUG_NUMA=ON
- make
- make test
- cd ..
- mkdir build_numa_nompi && cd build_numa && cmake ../ -DTESTS=ON -DNONUMA=ON -DMPI3=OFF
- make
- make test
- cd ..
- mkdir build_nonuma_nompi && cd build_nonuma_nompi && cmake ../ -DTESTS=ON -DNONUMA=ON -DNOMPI=ON
- make
- make test
- cd ..
after_success:
- documentation/gh_pages.sh