-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (33 loc) · 1.2 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
# Configure TravisCI (https://travis-ci.org) tests
language: c
env:
# Set a grid of environment variables to test
# Make sure the home directory is set to be the TravisCI project directory
#- USE_MPI=ON USE_MPI_IO=OFF USE_CUDA=OFF USE_DOUBLE=OFF HOME=${TRAVIS_BUILD_DIR}
#- USE_MPI=ON USE_MPI_IO=OFF USE_CUDA=OFF USE_DOUBLE=ON HOME=${TRAVIS_BUILD_DIR}
#- USE_MPI=ON USE_MPI_IO=ON USE_CUDA=OFF USE_DOUBLE=OFF HOME=${TRAVIS_BUILD_DIR}
- USE_MPI=OFF USE_MPI_IO=OFF USE_CUDA=OFF USE_DOUBLE=OFF HOME=${TRAVIS_BUILD_DIR}
#- USE_MPI=OFF USE_MPI_IO=OFF USE_CUDA=OFF USE_DOUBLE=ON HOME=${TRAVIS_BUILD_DIR}
#- USE_MPI=ON USE_MPI_IO=OFF USE_CUDA=ON USE_DOUBLE=OFF HOME=${TRAVIS_BUILD_DIR}
#- USE_MPI=OFF USE_MPI_IO=OFF USE_CUDA=ON USE_DOUBLE=OFF HOME=${TRAVIS_BUILD_DIR}
os:
- linux
- osx
compiler:
- gcc
- clang
# The following lines are needed by Codecov
sudo: required
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
# All the tests will be run by this Makefile
script: |
make -f test/Makefile tests
# Add the following lines to generate Codecov report
after_success: |
make -f test/Makefile kcov