forked from SeisSol/SeisSol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 4.07 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
sudo: required
notifications:
email:
on_success: always
on_failure: always
language: cpp
compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- wget ftp://ftp.unidata.ucar.edu/pub/netcdf/old/netcdf-4.3.1.1.tar.gz
install:
- sudo apt-get install -qq g++-4.7 gfortran openmpi-bin openmpi-common openmpi-dev hdf5-tools libhdf5-openmpi-1.8.4 libhdf5-openmpi-dev
- 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
- tar -xaf netcdf-4.3.1.1.tar.gz
- cd netcdf-4.3.1.1 && CC=mpicc ./configure --prefix=/usr && make && sudo make install && cd ..
script:
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid commThread=yes arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid commThread=yes arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid hdf5=yes arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid hdf5=yes arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes hdf5=yes commThread=yes arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes hdf5=yes commThread=yes arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=none arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=none arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=debug order=6 generatedKernels=yes parallelization=hybrid arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=debug order=6 generatedKernels=yes parallelization=hybrid arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=no parallelization=mpi arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=no parallelization=mpi arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=no parallelization=mpi netcdf=yes arch=dsnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=no parallelization=mpi netcdf=yes arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=no parallelization=none arch=dsnb compiler=gcc unitTests=fast -j2
# - scons compileMode=release order=6 generatedKernels=no parallelization=none arch=dsnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid arch=ssnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid arch=ssnb compiler=gcc unitTests=fast check
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes hdf5=yes commThread=yes arch=ssnb compiler=gcc unitTests=fast -j2
- scons compileMode=release order=6 generatedKernels=yes parallelization=hybrid netcdf=yes hdf5=yes commThread=yes arch=ssnb compiler=gcc unitTests=fast check
- scons compileMode=debug order=6 generatedKernels=yes parallelization=hybrid arch=ssnb compiler=gcc unitTests=fast -j2
- scons compileMode=debug order=6 generatedKernels=yes parallelization=hybrid arch=ssnb compiler=gcc unitTests=fast check