projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a GitHub issue template for documentation issues
[oweals/openssl.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index ff4c59397ef813e72839d3e9bf1ca743f856ac0d..9f616c7e00f2c62e6b4d6fe09046f98020d8f64e 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-32,6
+32,10
@@
env:
matrix:
include:
matrix:
include:
+ - os: linux
+ arch: arm64
+ compiler: gcc
+ env: CONFIG_OPTS="--strict-warnings"
- os: linux-ppc64le
sudo: false
compiler: clang
- os: linux-ppc64le
sudo: false
compiler: clang
@@
-42,6
+46,10
@@
matrix:
- os: linux
dist: trusty
compiler: clang
- os: linux
dist: trusty
compiler: clang
+ env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES no-deprecated"
+ - os: linux
+ dist: bionic
+ compiler: clang
env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES no-deprecated" BUILDONLY="yes"
- os: linux
addons:
env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES no-deprecated" BUILDONLY="yes"
- os: linux
addons:
@@
-161,30
+169,25
@@
script:
- if [ -n "$DESTDIR" ]; then
cd _build;
fi
- if [ -n "$DESTDIR" ]; then
cd _build;
fi
- - if $make update; then
- echo -e '+\057 MAKE UPDATE OK';
- else
- echo -e '+\057 MAKE UPDATE FAILED'; false;
+ - if ! $make update; then
+ echo -e '\052\052 FAILED -- MAKE UPDATE';
+ travis_terminate 1;
fi
fi
- - git diff --exit-code
- - if [ -n "$CHECKDOCS" ]; then
- if $make doc-nits; then
- echo -e '+\057\057 MAKE DOC-NITS OK';
- else
- echo -e '+\057\057 MAKE DOC-NITS FAILED'; false;
- fi;
+ - if ! git diff --exit-code; then
+ echo -e '\052\052 FAILED -- UPDATED FILES NOT COMMITED';
+ travis_terminate 1;
fi
fi
- - if [ -n "$GENERATE" ]; then
- if $make build_all_generated; then
- echo -e '+\057\057\057 MAKE BUILD_ALL_GENERATED OK';
- else
- echo -e '+\057\057\057 MAKE BUILD_ALL_GENERATED FAILED'; false;
- fi;
+ - if test -n "$CHECKDOCS" && ! $make doc-nits; then
+ echo -e '\052\052 FAILED -- MAKE DOC-NITS';
+ travis_terminate 1;
fi
fi
- - if $make2; then
- echo -e '+\057\057\057\057 MAKE OK';
- else
- echo -e '+\057\057\057\057 MAKE FAILED'; false;
+ - if test -n "$GENERATE" && ! $make build_all_generated; then
+ echo -e '\052\052 FAILED -- MAKE BUILD_ALL_GENERATED';
+ travis_terminate 1;
+ fi
+ - if ! $make2; then
+ echo -e '\052\052 FAILED -- MAKE';
+ travis_terminate 1;
fi;
- if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then
fi;
- if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then
@@
-196,31
+199,27
@@
script:
if [ -e krb5/src ]; then
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;
fi;
if [ -e krb5/src ]; then
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;
fi;
- if HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then
- echo -e '+\057\057\057\057\057 MAKE TEST OK';
- else
- echo -e '+\057\057\057\057\057 MAKE TEST FAILED'; false;
+ if ! HARNESS_VERBOSE_FAILURE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; then
+ echo -e '\052\052 FAILED -- MAKE TEST';
+ travis_terminate 1;
fi;
else
fi;
else
- if $make build_tests >~/build.log 2>&1; then
- echo -e '+\057\057\057\057\057\057 MAKE BUILD_TESTS OK';
- else
- echo -e '+\057\057\057\057\057\057 MAKE BUILD_TESTS FAILED';
+ if ! $make build_tests >~/build.log 2>&1; then
+ echo -e '\052\052 FAILED -- MAKE BUILD_TESTS';
cat ~/build.log
cat ~/build.log
-
false
;
+
travis_terminate 1
;
fi;
fi
- if [ -n "$DESTDIR" ]; then
mkdir "$top/$DESTDIR";
fi;
fi
- if [ -n "$DESTDIR" ]; then
mkdir "$top/$DESTDIR";
- if $make install DESTDIR="$top/$DESTDIR" >~/install.log 2>&1 ; then
- echo -e '+\057\057\057\057\057\057\057 MAKE INSTALL OK';
- else
- echo -e '+\057\057\057\057\057\057\057 MAKE INSTALL FAILED';
+ if ! $make install DESTDIR="$top/$DESTDIR" >~/install.log 2>&1 ; then
+ echo -e '\052\052 FAILED -- MAKE INSTALL';
cat ~/install.log;
cat ~/install.log;
-
false
;
+
travis_terminate 1
;
fi;
fi
- cd $top
fi;
fi
- cd $top
+ - echo -e '\052\052 DONE'
after_success:
- if [ -n "$COVERALLS" ]; then
after_success:
- if [ -n "$COVERALLS" ]; then