forked from sandialabs/seacas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (53 loc) · 2.01 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sudo: required
dist: trusty
language: c++
os:
- linux
compiler:
- gcc
- clang
git:
depth: 5
matrix:
allow_failures:
- os: osx
include:
- compiler: gcc
env: MPI=ON
- compiler: clang
env: MPI=ON
- compiler: gcc
env: KOKKOS=ON
- compiler: gcc
env: KOKKOS=ON MPI=ON
before_install:
- sudo apt-get update
- sudo apt-get -y install cmake
- sudo apt-get -y install gfortran
- sudo apt-get -y install libmatio-dev
- sudo apt-get -y install libz-dev
- if [ -z "$MPI" ]; then sudo apt-get -y install libnetcdf-dev; fi
- if [ -z "$MPI" ]; then sudo apt-get -y install netcdf-bin; fi
- if [ -n "$MPI" ]; then sudo apt-get -y install openmpi-bin; fi
- if [ -n "$MPI" ]; then sudo apt-get -y install libhdf5-mpi-dev; fi
before_script:
install:
- ./cmake-travis.sh
script:
- cd build
- export LD_LIBRARY_PATH=/usr/local/lib
- ctest -VV
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "MrWZZDYlZlDQH7hP/3dZRdMns2Fo/MJRQ8yHLv7L3BEK+lO5m1vP3P4SDJ1vCs2DQOms3OAseqLg9/Wx6x7oytGmTMYq3qY865u8eiUC062523J8esi5oHzT7ofoPvYdomdE+rb6jaYyHsvAg2Tehm3f256QNheZFa9BKYenmfjQ4CUjcBWe22Fyhi9rmAdxxqhIiYfALEWk3c+pxcbO/k0Yk4uRaO0jZdHvPeX18s6t/NJFadbmziQkjt11EnQwofw1qJ+QhY+vfWruE3o1ZrYgHXm9c6g4GLHcaxpocX4XkfAilRWto07FKN2g8qqqQl6nLpKuAnjUa0lZnSNRSLVGtAlzb8mgCYEKqhcszmRKWGBKJM+vesvQBulLdLLWTvd6yCr7YEZgvQvQJ9EU6a+O07heanhK4GnMoGnpoyC4N6bycCCyJHXEmU9KC8oFzJq0V+q2SSCtSbdA8TpqKngXb/Kq42ntbYT+h7pX7K9dN/y2Vjo5F3UXNfV0bIkZ5v8kIqsRGtrRrg8vVbx1pm4VaMtLDZnRT5tWOgA9sIUntEg9hiiItYplfmsMdFz/WwDW0lota3L+9HNX8viIzyHtbZhnCzEKCeZ9f2V78ZW/IVLgwk+dtg78fCVweMNdyQwTdbENb1WFnyUgfv8hh4q5g+jWggdTTqubFQmTzAk="
addons:
coverity_scan:
project:
name: "gsjaardema/seacas"
description: "Build submitted via Travis CI"
notification_email: gsjaardema@gmail.com
build_command_prepend:
build_command: "./cmake-travis.sh coverity"
branch_pattern: coverity_scan