forked from lanl/qmd-progress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (38 loc) · 1.02 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
language: python
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
- sourceline: 'ppa:nicolasbock/qmmd'
packages:
- cmake
- cmake-data
- g++-6
- gcc-6
- gfortran-6
- libblas-dev
- libbml-dev
- liblapack-dev
- libmetis-dev
- libopenmpi-dev
- python
- python3-numpy
- python-numpy
env:
- CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=no OMP_NUM_THREADS=4 COMMAND=testing
- CC=gcc-6 FC=gfortran-6 CXX=g++-6 PROGRESS_GRAPHLIB=yes OMP_NUM_THREADS=4 COMMAND=testing
script:
- >
CMAKE_BUILD_TYPE=Debug
PROGRESS_EXAMPLES=yes
PROGRESS_OPENMP=yes
PROGRESS_TESTING=yes
VERBOSE_MAKEFILE=yes
./build.sh ${COMMAND}
- pushd examples/gpmd
- ./run_test.sh
- popd
- pushd examples/gpmdcov
- OMP_NUM_THREADS=2 ./run.sh 2
- popd