forked from espressomd/espresso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.12 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
language: cpp
dist: trusty
sudo: required
cache:
- apt
- ccache
before_install:
- sudo apt-get update
- sudo apt-get install -y tcl-dev libhdf5-serial-dev build-essential pep8 cmake libboost-dev libboost-test-dev
- if [ "$with_mpi" != false ]; then sudo apt-get install -y libopenmpi-dev openmpi-bin; fi
- if [ "$with_fftw" != false ]; then sudo apt-get install -y libfftw3-dev; fi
- travis_retry wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n test python=2.7.9
- source activate test
- conda install --yes numpy cython pip
- pip install codecov
env:
- myconfig=default
- myconfig=maxset
- myconfig=maxset-gaussrandom
- myconfig=maxset-gaussrandomcut
- myconfig=molcut
- myconfig=rest1
- myconfig=rest2
- make_check=false myconfig=nocheck-maxset
- with_fftw=false with_mpi=false myconfig=maxset
compiler:
- gcc
- clang
script: ./maintainer/travis/build_cmake.sh
after_success:
- codecov