forked from sandialabs/seacas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (61 loc) · 2.37 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
68
69
70
71
72
73
74
75
76
sudo: required
language: c++
os:
- linux
compiler:
- gcc
- clang
git:
depth: 5
matrix:
allow_failures:
- os: osx
include:
- compiler: clang
env: SANITIZER="-fsanitize=address -fsanitize=memory -fno-omit-frame-pointer -fPIC" FORTRAN=OFF BUILD_TYPE=DEBUG CGNS=OFF FC=gfortran-6
- compiler: gcc
env: MPI=ON
- compiler: clang
env: MPI=ON THREADSAFE=ON
- compiler: gcc
env: KOKKOS=ON
- compiler: gcc
env: KOKKOS=ON MPI=ON
- compiler: gcc
env: CGNS=OFF MPI=ON
- compiler: gcc
env: FORTRAN=OFF
before_install:
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get -y install g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
- sudo apt-get -y install gfortran-6
- sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-6 90
- sudo apt-get -y install libz-dev
- if [ -n "$MPI" ]; then sudo apt-get -y install openmpi-bin; fi
- if [ -n "$MPI" ]; then sudo apt-get -y install libopenmpi-dev; fi
- ./install-tpl.sh
before_script:
install:
- ./cmake-config
script:
- cd build
- export LD_LIBRARY_PATH=/usr/local/lib
- ctest -VV
env:
global:
- COMPILER=EXTERNAL
# 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: [email protected]
build_command_prepend:
build_command: "THREADSAFE=ON ./cmake-config coverity"
branch_pattern: coverity_scan