This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
57 lines (48 loc) · 1.63 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
50
51
52
53
54
55
56
57
language: python
os: linux
dist: bionic
#if: branch = master or tag IS present
python: 3.6
# important: with limited depth the tags are not cloned properly - the PBR does not work
git:
depth: false
services:
- docker
before_install:
- pip install -r ./requirements-dev.txt
- './.travis/main.sh'
# pull before tests, so the tests would not have to do so
- docker-compose -f ./test/testdata/env_simple/apps/conf/infrastructure.ssl.yml -f ./test/testdata/env_simple/apps/conf/infrastructure.service-discovery.yml -f ./test/testdata/env_simple/apps/conf/apps.website.yml pull
jobs:
allow_failures:
env:
- CAN_FAIL=true
include:
- stage: "Test on Python 3.8 (docker-compose: 1.25)"
python: 3.8
before_script:
- ./setup.py install
- pip install docker-compose==1.25.0
- pip show rkd
script:
- rkd :test --src-dir src
- stage: "Test on Python 3.6 (docker-compose: 1.25)"
before_script:
- ./setup.py install
- pip install docker-compose==1.25.0
- pip show rkd
script:
- rkd :test --src-dir src
- stage: "Test on Python 3.8, LATEST docker-compose and LATEST RKD"
python: 3.8
env: CAN_FAIL=true
before_script:
- ./setup.py install
- pip install --pre --upgrade docker-compose rkd
- pip show docker-compose
- pip show rkd
script:
- rkd :test --src-dir src
- stage: Release
python: 3.6
script: rkd :release