-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (42 loc) · 1.45 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
49
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=18.04
- MAKE_PKG=0
- VMEM_CC=gcc
- VMEM_CXX=g++
- VALGRIND=1
matrix:
- COVERAGE=1 FAULT_INJECTION=1 TEST_BUILD=debug
- FAULT_INJECTION=1 TEST_BUILD=debug
- FAULT_INJECTION=1 TEST_BUILD=nondebug
- VMEM_CC=clang VMEM_CXX=clang++ TEST_BUILD=debug
- VMEM_CC=clang VMEM_CXX=clang++ TEST_BUILD=nondebug
- OS=fedora OS_VER=28 VMEM_CC=clang VMEM_CXX=clang++ TEST_BUILD=debug
- OS=fedora OS_VER=28 VMEM_CC=clang VMEM_CXX=clang++ TEST_BUILD=nondebug AUTO_DOC_UPDATE=1
- MAKE_PKG=1 EXPERIMENTAL=y VALGRIND=0 PUSH_IMAGE=1
- MAKE_PKG=1 EXPERIMENTAL=y VALGRIND=0 PUSH_IMAGE=1 OS=fedora OS_VER=28
- MAKE_PKG=1 EXPERIMENTAL=y VALGRIND=0 VMEM_CC=clang VMEM_CXX=clang++
- COVERITY=1
before_install:
- echo $TRAVIS_COMMIT_RANGE
- export HOST_WORKDIR=`pwd`
- export GITHUB_REPO=pmem/vmem
- export DOCKERHUB_REPO=pmem/vmem
- 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