forked from lanl/qmd-progress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml-deprecated
50 lines (45 loc) · 1.06 KB
/
.travis.yml-deprecated
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
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
- 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:
- ./scripts/install-bml.sh
- >
CMAKE_BUILD_TYPE=Debug
PKG_CONFIG_PATH=~/bml/install/lib/pkgconfig:~/bml/install/lib64/pkgconfig
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
after_success:
- pip install codecov
- codecov --gcov-exec gcov-6
branches:
only:
- master