-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.42 KB
/
.travis.yml
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
43
44
45
46
47
48
dist: trusty
# use temporarily the previous version of Trusty image
# until Travis fixes issue with mounting permissions
group: deprecated-2017Q2
sudo: required
language: c
services:
- docker
env:
global:
- OS=ubuntu
- OS_VER=16.04
- MAKE_PKG=0
- PMDK_CC=gcc
- PMDK_CXX=g++
- REMOTE_TESTS=1
- VALGRIND=1
matrix:
- COVERAGE=1 TEST_BUILD=debug
- TEST_BUILD=debug
- TEST_BUILD=nondebug
- PMDK_CC=clang PMDK_CXX=clang++ TEST_BUILD=debug
- PMDK_CC=clang PMDK_CXX=clang++ TEST_BUILD=nondebug
- OS=fedora OS_VER=25 PMDK_CC=clang PMDK_CXX=clang++ TEST_BUILD=debug
- OS=fedora OS_VER=25 PMDK_CC=clang PMDK_CXX=clang++ TEST_BUILD=nondebug
- MAKE_PKG=1 EXPERIMENTAL=y REMOTE_TESTS=0 VALGRIND=0 NDCTL_ENABLE=n PUSH_IMAGE=1
- MAKE_PKG=1 EXPERIMENTAL=y REMOTE_TESTS=0 VALGRIND=0 NDCTL_ENABLE=y PUSH_IMAGE=1 OS=fedora OS_VER=25
- MAKE_PKG=1 EXPERIMENTAL=y REMOTE_TESTS=0 VALGRIND=0 NDCTL_ENABLE=n PMDK_CC=clang PMDK_CXX=clang++
- COVERITY=1
before_install:
- echo $TRAVIS_COMMIT_RANGE
- export HOST_WORKDIR=`pwd`
- cd utils/docker
- ./pull-or-rebuild-image.sh
- if [[ -f push_image_to_repo_flag ]]; then PUSH_THE_IMAGE=1; fi
- if [[ -f skip_build_package_check ]]; then export SKIP_CHECK=1; fi
- rm -f push_image_to_repo_flag skip_build_package_check
script:
- ./build-travis.sh
after_success:
- if [[ $PUSH_THE_IMAGE -eq 1 ]]; then images/push-image.sh $OS-$OS_VER; fi