Emilia Kasper | 703324a | 2017-03-14 16:40:34 +0100 | [diff] [blame] | 1 | dist: trusty |
| 2 | sudo: required |
| 3 | |
Andy Polyakov | 46cc9f3 | 2018-04-22 21:14:15 +0200 | [diff] [blame] | 4 | osx_image: xcode9.3 |
| 5 | |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 6 | language: c |
Richard Levitte | bd5fbfe | 2016-03-07 00:33:35 +0100 | [diff] [blame] | 7 | cache: ccache |
Andy Polyakov | 22df22e | 2017-03-13 12:13:07 +0100 | [diff] [blame] | 8 | git: |
| 9 | submodules: false |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 10 | |
Emilia Kasper | ad0a0a3 | 2016-08-03 15:29:21 +0200 | [diff] [blame] | 11 | before_install: |
Andy Polyakov | b394360 | 2016-10-10 12:22:10 +0200 | [diff] [blame] | 12 | - if [ -n "$COVERALLS" ]; then |
| 13 | pip install --user cpp-coveralls; |
| 14 | fi; |
Andy Polyakov | 22df22e | 2017-03-13 12:13:07 +0100 | [diff] [blame] | 15 | - if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then |
| 16 | git submodule update --init --recursive; |
| 17 | fi; |
Emilia Kasper | ad0a0a3 | 2016-08-03 15:29:21 +0200 | [diff] [blame] | 18 | |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 19 | os: |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 20 | - linux |
Richard Levitte | a6da6b7 | 2018-02-09 09:12:47 +0100 | [diff] [blame] | 21 | - osx |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 22 | |
| 23 | compiler: |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 24 | - clang |
| 25 | - gcc |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 26 | |
| 27 | env: |
Richard Levitte | 5d32203 | 2018-03-28 10:38:56 +0200 | [diff] [blame] | 28 | - CONFIG_OPTS="" DESTDIR="_install" |
| 29 | - CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2" |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 30 | - CONFIG_OPTS="no-asm no-makedepend --strict-warnings" BUILDONLY="yes" CHECKDOCS="yes" GENERATE="yes" |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 31 | |
| 32 | matrix: |
Alessandro Ghedini | f386742 | 2015-10-12 16:15:43 -0400 | [diff] [blame] | 33 | include: |
Andy Polyakov | 41b77d5 | 2018-05-07 21:56:04 +0200 | [diff] [blame] | 34 | - os: linux-ppc64le |
| 35 | sudo: false |
| 36 | compiler: clang |
| 37 | env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES" |
Alessandro Ghedini | f386742 | 2015-10-12 16:15:43 -0400 | [diff] [blame] | 38 | - os: linux |
Andy Polyakov | 31c1db9 | 2017-01-26 01:02:43 +0100 | [diff] [blame] | 39 | addons: |
| 40 | apt: |
| 41 | packages: |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 42 | - gcc-5 |
| 43 | - g++-5 |
| 44 | sources: |
| 45 | - ubuntu-toolchain-r-test |
| 46 | compiler: gcc-5 |
Richard Levitte | 5d32203 | 2018-03-28 10:38:56 +0200 | [diff] [blame] | 47 | env: CONFIG_OPTS="--strict-warnings" COMMENT="Move to the BORINGTEST build when interoperable" |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 48 | - os: linux |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 49 | compiler: clang |
| 50 | env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES no-deprecated" BUILDONLY="yes" |
Richard Levitte | 7b19543 | 2016-11-03 16:46:14 +0100 | [diff] [blame] | 51 | - os: linux |
Andy Polyakov | 31c1db9 | 2017-01-26 01:02:43 +0100 | [diff] [blame] | 52 | addons: |
| 53 | apt: |
| 54 | packages: |
Andy Polyakov | 31c1db9 | 2017-01-26 01:02:43 +0100 | [diff] [blame] | 55 | - binutils-mingw-w64 |
| 56 | - gcc-mingw-w64 |
Emilia Kasper | 56cd71b | 2016-03-07 12:59:40 +0100 | [diff] [blame] | 57 | compiler: i686-w64-mingw32-gcc |
Andy Polyakov | b394360 | 2016-10-10 12:22:10 +0200 | [diff] [blame] | 58 | env: CONFIG_OPTS="no-stdio" BUILDONLY="yes" |
Andy Polyakov | 41b77d5 | 2018-05-07 21:56:04 +0200 | [diff] [blame] | 59 | # Uncomment if there is reason to believe that PPC-specific problem |
| 60 | # can be diagnosed with this possibly >30 mins sanitizer build... |
| 61 | #- os: linux-ppc64le |
| 62 | # sudo: false |
| 63 | # compiler: gcc |
| 64 | # env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-asan enable-ubsan no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D__NO_STRING_INLINES" |
Emilia Kasper | 56cd71b | 2016-03-07 12:59:40 +0100 | [diff] [blame] | 65 | - os: linux |
Andy Polyakov | 31c1db9 | 2017-01-26 01:02:43 +0100 | [diff] [blame] | 66 | addons: |
| 67 | apt: |
| 68 | packages: |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 69 | - gcc-5 |
| 70 | - g++-5 |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 71 | - golang-1.6 |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 72 | sources: |
| 73 | - ubuntu-toolchain-r-test |
| 74 | compiler: gcc-5 |
Pauli | a93ccf9 | 2017-12-18 07:42:19 +1000 | [diff] [blame] | 75 | env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers no-shared -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5" |
Richard Levitte | cd838c6 | 2017-03-21 15:57:03 +0100 | [diff] [blame] | 76 | - os: linux |
| 77 | addons: |
| 78 | apt: |
| 79 | packages: |
| 80 | - gcc-5 |
| 81 | - g++-5 |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 82 | - golang-1.6 |
Richard Levitte | cd838c6 | 2017-03-21 15:57:03 +0100 | [diff] [blame] | 83 | sources: |
| 84 | - ubuntu-toolchain-r-test |
| 85 | compiler: gcc-5 |
| 86 | env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-external-tests" BORINGSSL_TESTS="yes" CXX="g++-5" TESTS=95 |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 87 | - os: linux |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 88 | compiler: clang |
| 89 | env: EXTENDED_TEST="yes" CONFIG_OPTS="enable-msan -D__NO_STRING_INLINES -Wno-unused-command-line-argument" |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 90 | - os: linux |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 91 | compiler: clang |
| 92 | env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-nextprotoneg no-shared -fno-sanitize=alignment -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D__NO_STRING_INLINES -Wno-unused-command-line-argument" |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 93 | - os: linux |
Andy Polyakov | 9a96626 | 2018-05-06 18:30:59 +0200 | [diff] [blame] | 94 | compiler: clang |
| 95 | env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2 no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D__NO_STRING_INLINES -Wno-unused-command-line-argument" |
Andy Polyakov | a602dec | 2018-05-06 18:36:09 +0200 | [diff] [blame] | 96 | #- os: linux |
| 97 | # addons: |
| 98 | # apt: |
| 99 | # packages: |
| 100 | # - gcc-5 |
| 101 | # - g++-5 |
| 102 | # sources: |
| 103 | # - ubuntu-toolchain-r-test |
| 104 | # compiler: gcc-5 |
| 105 | # env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug no-asm enable-ubsan enable-rc5 enable-md2 -DPEDANTIC" OPENSSL_TEST_RAND_ORDER=0 |
Richard Levitte | b4aaf19 | 2016-08-05 00:48:44 +0200 | [diff] [blame] | 106 | - os: linux |
Andy Polyakov | 31c1db9 | 2017-01-26 01:02:43 +0100 | [diff] [blame] | 107 | addons: |
| 108 | apt: |
| 109 | packages: |
| 110 | - binutils-mingw-w64 |
| 111 | - gcc-mingw-w64 |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 112 | compiler: i686-w64-mingw32-gcc |
Richard Levitte | 5d32203 | 2018-03-28 10:38:56 +0200 | [diff] [blame] | 113 | env: EXTENDED_TEST="yes" CONFIG_OPTS="no-pic" |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 114 | - os: linux |
| 115 | addons: |
| 116 | apt: |
| 117 | packages: |
| 118 | - binutils-mingw-w64 |
| 119 | - gcc-mingw-w64 |
Richard Levitte | b4aaf19 | 2016-08-05 00:48:44 +0200 | [diff] [blame] | 120 | compiler: x86_64-w64-mingw32-gcc |
Richard Levitte | 5d32203 | 2018-03-28 10:38:56 +0200 | [diff] [blame] | 121 | env: EXTENDED_TEST="yes" CONFIG_OPTS="no-pic" |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 122 | exclude: |
Emilia Kasper | 210efa8 | 2016-03-07 15:15:20 +0100 | [diff] [blame] | 123 | - os: linux |
| 124 | compiler: clang |
Alessandro Ghedini | 6220acf | 2015-10-06 20:27:50 +0200 | [diff] [blame] | 125 | - os: osx |
Andy Polyakov | dbf9a33 | 2016-02-12 11:45:44 +0100 | [diff] [blame] | 126 | compiler: gcc |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 127 | |
| 128 | before_script: |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 129 | - env |
Richard Levitte | 2da3f96 | 2017-04-12 18:57:02 +0200 | [diff] [blame] | 130 | - if [ "$TRAVIS_PULL_REQUEST" != "false" -a -n "$EXTENDED_TEST" ]; then |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 131 | (git log -1 $TRAVIS_COMMIT_RANGE | grep '\[extended tests\]' > /dev/null) || exit 0; |
| 132 | fi |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 133 | - if [ -n "$DESTDIR" ]; then |
| 134 | sh .travis-create-release.sh $TRAVIS_OS_NAME; |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 135 | tar -xzf _srcdist.tar.gz; |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 136 | mkdir _build; |
| 137 | cd _build; |
| 138 | srcdir=../_srcdist; |
| 139 | top=..; |
| 140 | else |
| 141 | srcdir=.; |
| 142 | top=.; |
| 143 | fi |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 144 | - if [ "$CC" = i686-w64-mingw32-gcc ]; then |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 145 | export CROSS_COMPILE=${CC%%gcc}; unset CC; |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 146 | $srcdir/Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format; |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 147 | elif [ "$CC" = x86_64-w64-mingw32-gcc ]; then |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 148 | export CROSS_COMPILE=${CC%%gcc}; unset CC; |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 149 | $srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format; |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 150 | else |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 151 | if [ "$CC" = clang-3.9 ]; then |
Matt Caswell | 404c76f | 2017-06-23 13:58:49 +0100 | [diff] [blame] | 152 | sudo cp .travis-apt-pin.preferences /etc/apt/preferences.d/no-ubuntu-clang; |
| 153 | curl -sSL "http://apt.llvm.org/llvm-snapshot.gpg.key" | sudo -E apt-key add -; |
| 154 | echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" | sudo tee -a /etc/apt/sources.list > /dev/null; |
| 155 | sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"; |
| 156 | sudo -E apt-get -yq update; |
| 157 | sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install clang-3.9; |
| 158 | elif which ccache >/dev/null; then |
Richard Levitte | a70ca74 | 2016-03-10 02:14:55 +0100 | [diff] [blame] | 159 | CC="ccache $CC"; |
Richard Levitte | 8cffddc | 2016-03-10 08:36:57 +0100 | [diff] [blame] | 160 | fi; |
Richard Levitte | ffb261f | 2016-08-15 18:46:39 +0200 | [diff] [blame] | 161 | $srcdir/config -v $CONFIG_OPTS; |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 162 | fi |
Richard Levitte | 2da0130 | 2018-01-29 18:22:33 +0100 | [diff] [blame] | 163 | - ./configdata.pm --dump |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 164 | - cd $top |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 165 | |
| 166 | script: |
Richard Levitte | a4ffbbe | 2016-08-15 18:45:22 +0200 | [diff] [blame] | 167 | - if [ -z "$BUILDONLY" ]; then |
| 168 | make="make -s"; |
| 169 | else |
| 170 | make="make"; |
| 171 | fi |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 172 | - if [ -n "$GENERATE" ]; then |
| 173 | make2="$make PERL=no-perl"; |
| 174 | else |
| 175 | make2="$make"; |
| 176 | fi |
Emilia Kasper | ab29eca | 2016-11-09 17:25:35 +0100 | [diff] [blame] | 177 | - top=${PWD} |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 178 | - if [ -n "$DESTDIR" ]; then |
| 179 | cd _build; |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 180 | fi |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 181 | - if $make update; then |
| 182 | echo -e '+\057 MAKE UPDATE OK'; |
| 183 | else |
| 184 | echo -e '+\057 MAKE UPDATE FAILED'; false; |
| 185 | fi; |
Richard Levitte | d794876 | 2017-11-02 23:50:48 +0100 | [diff] [blame] | 186 | git diff --exit-code |
Richard Levitte | 29ee1be | 2017-01-09 22:41:26 -0500 | [diff] [blame] | 187 | - if [ -n "$CHECKDOCS" ]; then |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 188 | if $make doc-nits; then |
| 189 | echo -e '+\057\057 MAKE DOC-NITS OK'; |
| 190 | else |
| 191 | echo -e '+\057\057 MAKE DOC-NITS FAILED'; false; |
| 192 | fi; |
Richard Levitte | 29ee1be | 2017-01-09 22:41:26 -0500 | [diff] [blame] | 193 | fi |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 194 | - if [ -n "$GENERATE" ]; then |
| 195 | if $make build_all_generated; then |
| 196 | echo -e '+\057\057\057 MAKE BUILD_ALL_GENERATED OK'; |
| 197 | else |
| 198 | echo -e '+\057\057\057 MAKE BUILD_ALL_GENERATED FAILED'; false; |
| 199 | fi; |
| 200 | fi |
| 201 | - if $make2; then |
| 202 | echo -e '+\057\057\057\057 MAKE OK'; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 203 | else |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 204 | echo -e '+\057\057\057\057 MAKE FAILED'; false; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 205 | fi; |
Emilia Kasper | b63447c | 2016-03-06 22:31:18 +0100 | [diff] [blame] | 206 | - if [ -z "$BUILDONLY" ]; then |
Emilia Kasper | 56cd71b | 2016-03-07 12:59:40 +0100 | [diff] [blame] | 207 | if [ -n "$CROSS_COMPILE" ]; then |
Emilia Kasper | 703324a | 2017-03-14 16:40:34 +0100 | [diff] [blame] | 208 | sudo dpkg --add-architecture i386; |
| 209 | sudo apt-get update; |
Andy Polyakov | b169c0e | 2017-02-06 11:14:05 +0100 | [diff] [blame] | 210 | sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine; |
Emilia Kasper | 56cd71b | 2016-03-07 12:59:40 +0100 | [diff] [blame] | 211 | export EXE_SHELL="wine" WINEPREFIX=`pwd`; |
| 212 | fi; |
Robbie Harwood | 0fef744 | 2017-04-05 12:54:41 -0400 | [diff] [blame] | 213 | if [ -e krb5/src ]; then |
| 214 | sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python-cjson python-paste python-pyrad slapd tcl-dev tcsh; |
| 215 | fi; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 216 | if HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 217 | echo -e '+\057\057\057\057\057 MAKE TEST OK'; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 218 | else |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 219 | echo -e '+\057\057\057\057\057 MAKE TEST FAILED'; false; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 220 | fi; |
Emilia Kasper | d7a275e | 2016-03-14 12:47:47 +0100 | [diff] [blame] | 221 | else |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 222 | if $make build_tests >~/build.log 2>&1; then |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 223 | echo -e '+\057\057\057\057\057\057 MAKE BUILD_TESTS OK'; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 224 | else |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 225 | echo -e '+\057\057\057\057\057\057 MAKE BUILD_TESTS FAILED'; |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 226 | cat ~/build.log |
| 227 | false; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 228 | fi; |
Rich Salz | 1a3ae78 | 2015-10-16 11:19:04 -0400 | [diff] [blame] | 229 | fi |
Richard Levitte | d227a30 | 2016-03-29 17:50:53 +0200 | [diff] [blame] | 230 | - if [ -n "$DESTDIR" ]; then |
Emilia Kasper | ab29eca | 2016-11-09 17:25:35 +0100 | [diff] [blame] | 231 | mkdir "$top/$DESTDIR"; |
Richard Levitte | 986caf9 | 2018-05-14 09:28:52 +0200 | [diff] [blame] | 232 | if $make install DESTDIR="$top/$DESTDIR" >~/install.log 2>&1 ; then |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 233 | echo -e '+\057\057\057\057\057\057\057 MAKE INSTALL OK'; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 234 | else |
Richard Levitte | 6197bc7 | 2018-04-11 15:49:19 +0200 | [diff] [blame] | 235 | echo -e '+\057\057\057\057\057\057\057 MAKE INSTALL FAILED'; |
Michael Richardson | 9967a9e | 2018-03-06 14:18:43 -0500 | [diff] [blame] | 236 | cat ~/install.log; |
| 237 | false; |
Rich Salz | d8ebcf5 | 2017-07-03 13:33:58 -0400 | [diff] [blame] | 238 | fi; |
Richard Levitte | d227a30 | 2016-03-29 17:50:53 +0200 | [diff] [blame] | 239 | fi |
Richard Levitte | 262ee9a | 2016-08-04 11:50:39 +0200 | [diff] [blame] | 240 | - cd $top |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 241 | |
Emilia Kasper | ad0a0a3 | 2016-08-03 15:29:21 +0200 | [diff] [blame] | 242 | after_success: |
| 243 | - if [ -n "$COVERALLS" ]; then |
Richard Levitte | 21c2154 | 2017-09-30 19:39:39 +0200 | [diff] [blame] | 244 | coveralls -b . --gcov gcov-5 --gcov-options '\-lpbc'; |
Emilia Kasper | ad0a0a3 | 2016-08-03 15:29:21 +0200 | [diff] [blame] | 245 | fi; |
| 246 | |
Alessandro Ghedini | 66c103b | 2015-08-20 00:12:29 +0200 | [diff] [blame] | 247 | notifications: |
Rich Salz | db9defd | 2015-09-21 19:54:36 -0400 | [diff] [blame] | 248 | email: |
Richard Levitte | 5e28b1c | 2016-11-02 00:09:03 +0100 | [diff] [blame] | 249 | secure: "xeGNgWO7aoaDgRvcZubposqMsj36aU8c6F0oHfw+rUqltCQ14IgYCUwzocmR2O+Pa7B3Cx5VjMfBFHbQaajZsfod8vu7g+aGq/zkjwbhsr/SR4dljJjFJXLGZjIalm9KgP6KInmVDuINfCqP+MHIY5lZkNI7DMcyHDhVc5nSKvCXV7xTDNgmstvh8rB/z51WfHDqGqfBtiuK5FDNxmvYK8OFJ5W94Lu9LDlizcxwK3GAj7arOui7Z5w8bQ6p4seUE3IvJL1Zbj0pZHxvNb6Zeb2Pn8QF1qLlN8YmBktD4aiw0ce4wYRiL87uLgcOxZY7SVXtv2XYFIYWapU/FKjCqa6vK93V/H9eZWEIYNMKnN3wXm2beqVdnKek3OeGJ8v0y7MbSfuLfRtBqbTSNYnpU1Zuo4MQAvHvEPuwCAYkYQajOSRplMH5sULFKptuVqNtOMfjL8jHb8AEoL1acYIk43ydxeYrzzas4fqgCDJ52573/u0RNdF1lkQBLkuM365OB8VRqtpnoxcdEIY/qBc/8TzZ24fxyrs5qdHFcxGSgpN2EP6cJMqpvkemnCNSdhxUqfzm22N7a3O8+4LFSBGOnHto/PwdsvF/01yGYL0LoZTnoO1i6x7AMJPBh+eyDU0ZjGhj/msjmqeb9C8vRqQ+1WjHrIS1iqCD0Czib8tUPD4=" |