forked from pmem/pmemkv-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
executable file
·31 lines (24 loc) · 819 Bytes
/
Copy path.travis.yml
File metadata and controls
executable file
·31 lines (24 loc) · 819 Bytes
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
dist: trusty
sudo: required
language: python
services:
- docker
env:
matrix:
- TYPE=pmemkv-master OS=ubuntu OS_VER=19.04 PUSH_IMAGE=1
# XXX enable it when the 'stable-1.0' branch is available
# - TYPE=pmemkv-stable OS=ubuntu OS_VER=19.04 PUSH_IMAGE=1
before_install:
- echo $TRAVIS_COMMIT_RANGE
- export HOST_WORKDIR=`pwd`
- export GITHUB_REPO=pmem/pmemkv-python
- export DOCKERHUB_REPO=pmem/pmemkv-python
- 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.sh
after_success:
- if [[ $PUSH_THE_IMAGE -eq 1 ]]; then images/push-image.sh $OS-$OS_VER; fi