summaryrefslogtreecommitdiffstats
path: root/src/pmdk/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/pmdk/.travis.yml
parentInitial commit. (diff)
downloadceph-upstream/18.2.2.tar.xz
ceph-upstream/18.2.2.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pmdk/.travis.yml')
-rw-r--r--src/pmdk/.travis.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/pmdk/.travis.yml b/src/pmdk/.travis.yml
new file mode 100644
index 000000000..caa2313e2
--- /dev/null
+++ b/src/pmdk/.travis.yml
@@ -0,0 +1,42 @@
+os: linux
+dist: bionic
+arch:
+ - ppc64le
+
+language: c
+
+services:
+ - docker
+
+env:
+ global:
+ - GITHUB_REPO=pmem/pmdk
+ - DOCKERHUB_REPO=pmem/pmdk
+ - OS=ubuntu
+ - OS_VER=19.10
+ - MAKE_PKG=0
+ - PMDK_CC=gcc
+ - PMDK_CXX=g++
+ - REMOTE_TESTS=1
+ - VALGRIND=1
+ - SRC_CHECKERS=0
+ - EXPERIMENTAL=n
+ jobs:
+ - FAULT_INJECTION=1 TEST_BUILD=debug PUSH_IMAGE=1
+ - OS=fedora OS_VER=31 PMDK_CC=clang PMDK_CXX=clang++ TEST_BUILD=nondebug PUSH_IMAGE=1
+ - MAKE_PKG=1 REMOTE_TESTS=0 VALGRIND=0
+ - MAKE_PKG=1 REMOTE_TESTS=0 VALGRIND=0 OS=fedora OS_VER=31
+ - COVERAGE=1 FAULT_INJECTION=1 TEST_BUILD=debug
+
+before_install:
+ - echo $TRAVIS_COMMIT_RANGE
+ - export HOST_WORKDIR=`pwd`
+ - cd utils/docker
+ - ./pull-or-rebuild-image.sh
+
+script:
+ - ./build-CI.sh
+
+after_success:
+ - source ./set-vars.sh
+ - if [[ -f $CI_FILE_PUSH_IMAGE_TO_REPO ]]; then ./images/push-image.sh; fi