summaryrefslogtreecommitdiffstats
path: root/comm/third_party/botan/src/scripts/ci/travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/third_party/botan/src/scripts/ci/travis.yml')
-rw-r--r--comm/third_party/botan/src/scripts/ci/travis.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/comm/third_party/botan/src/scripts/ci/travis.yml b/comm/third_party/botan/src/scripts/ci/travis.yml
new file mode 100644
index 0000000000..15609864c4
--- /dev/null
+++ b/comm/third_party/botan/src/scripts/ci/travis.yml
@@ -0,0 +1,50 @@
+language: cpp
+os: linux
+dist: focal
+compiler: gcc
+
+jobs:
+ include:
+ - name: Linux ppc64le (GCC)
+ arch: ppc64le
+ env:
+ - TARGET="shared"
+
+ - name: Linux arm64 (GCC)
+ arch: arm64
+ env:
+ - TARGET="shared"
+
+ - name: Linux GCC 4.8
+ dist: bionic
+ env:
+ - TARGET="gcc4.8"
+ - EXTRA_FLAGS="--disable-werror"
+
+install:
+ - ./src/scripts/ci/setup_travis.sh
+
+script:
+ - ./src/scripts/ci_build.py --os=$TRAVIS_OS_NAME --cc=$CC --cc-bin=$CXX --without-pylint3 --pkcs11-lib=$PKCS11_LIB $EXTRA_FLAGS $TARGET
+
+# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
+branches:
+ only:
+ - master
+ - release-2
+ - coverity_scan
+
+git:
+ depth: 10
+
+cache:
+ ccache: true
+
+addons:
+ coverity_scan:
+ project:
+ name: "randombit/botan"
+ notification_email: jack@randombit.net
+ build_command_prepend: "./configure.py --no-optimizations --with-zlib --with-openssl"
+ build_command: "make -j2"
+ branch_pattern: coverity_scan