summaryrefslogtreecommitdiffstats
path: root/src/pmdk/.travis.yml
blob: caa2313e2e7d8b4db0792dc08b9f27e6b05dd3e4 (plain)
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
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