-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
107 lines (101 loc) · 3.68 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#
# Travis CI configuration file
#
# ICRAR - International Centre for Radio Astronomy Research
# (c) UWA - The University of Western Australia, 2016
# Copyright by UWA (in the framework of the ICRAR)
# All rights reserved
#
# Contributed by Rodrigo Tobar
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
language: cpp
sudo: false
dist: trusty
# We try with both GNU and LLVM
# When running with gcc-6 we also collect coverage information
# and upload it to coveralls
matrix:
include:
- compiler: gcc
addons:
apt:
packages: [libgsl0-dev, cxxtest]
env: COMPILER=g++ POOR_BUILD=yes
- compiler: gcc
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [g++-4.6, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=g++-4.6 CXXFLAGS="-std=c++0x"
- compiler: gcc
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [g++-4.7, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=g++-4.7
- compiler: gcc
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [g++-4.9, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=g++-4.9
- compiler: gcc
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [g++-5, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=g++-5
- compiler: gcc
cache:
directories:
- '$HOME/.sonar/cache'
addons:
sonarcloud:
token:
secure: "T/nf5mmePSxJsP72aX97mL6HnclDZ4UGLlPfRFslcg+AMGFyfCt4IJY0QymF6QQ/bcqDw53strzKdvn56uHkoBo2TLLX/+Qd06bJuMHWzTIKUQT2aPoF7l7eztLPi0RqO+xd8wxZtthGgKMIrYDomSWIBSpbuPDxyYFGQE/cuQjzTUi1eP0YlRr6L61TjHO6sD5JmjakueU1nDwTWdorZr8Q08X4W1o8P++OayNJwjh8FUW7GiZ5jhLZIVw5QxLlycFVDCElspSqU0DKg7jcL+uaRfoOSao4nUBUcL372dup40iqj2jBkyBl3moJjUqM5D3KXUJmh75Cz1iArevR4z3921iMqTRjOinplUmp4v4nDMax5rEM1YAXKMiUder5WHO7HvYLRojqukBWigeWiBPO9cIXUG9RQOohrjBrofb2gNd3swDV+FscVTppnqqgfqgFKG3j6T0j7rni/1UT/Ri3Mlk5G7QTcPXokxvQQvkn5QQ3j5L/bwDLf6hW48G2sEOdP31fakhARrLauJNj6P47geW5jHndKf3t92eNmfq4Y9ZI1aNZo2FIP2udz/KhMfozbiLp9J/ZBjyOEMtavlKWFdeRumDssK0EEBXTLSmXzhG5cE/yc50O08peF6ucFzGq9HNMIr0ORzkSu8OKhj3zrPRJehxpTTnBcft9DkA="
apt:
sources: ubuntu-toolchain-r-test
packages: [g++-6, libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=g++-6 CXXFLAGS="-coverage" LDFLAGS="-coverage"
- compiler: clang
addons:
apt:
packages: [libfftw3-dev, libgsl0-dev, opencl-headers, cxxtest]
env: COMPILER=clang++ LD_LIBRARY_PATH=/usr/local/clang-5.0.0/lib
- os: osx
osx_image: xcode7.3 # OSX 10.11
env: XCODE=7.3
- os: osx
osx_image: xcode8.3 # OSX 10.12
env: XCODE=8.3
- os: osx
osx_image: xcode9.3 # OSX 10.13
env: XCODE=9.3
# We "source" it because it exports variables
before_install:
- source .travis/before_install.sh
install:
- source .travis/install.sh
script:
- cd ${TRAVIS_BUILD_DIR}/build
- $MAKE_ALL
- make install
- PROFIT_HOME=testing-home make CTEST_OUTPUT_ON_FAILURE=1 test
after_success:
- cd ${TRAVIS_BUILD_DIR}
- source .travis/after_success.sh