Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
CI: Use --pre to build on latest RKD and on latest docker-compose in …
Browse files Browse the repository at this point in the history
…"Test on Python 3.8, LATEST docker-compose and LATEST RKD" stage, mark stage as failure tolerant
  • Loading branch information
blackandred committed Jul 16, 2020
1 parent 0eb5bb1 commit de76434
Showing 1 changed file with 36 additions and 31 deletions.
67 changes: 36 additions & 31 deletions .travis.yml
Expand Up @@ -19,34 +19,39 @@ before_install:
- 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:
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

- 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

- stage: "Test on Python 3.8, LATEST docker-compose and LATEST RKD"
python: 3.8
before_script:
- ./setup.py install
- pip install --upgrade docker-compose rkd
- pip show docker-compose
- pip show rkd
script:
- rkd :test

- stage: Release
python: 3.6
script: rkd :release
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

- 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

- 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

- stage: Release
python: 3.6
script: rkd :release

0 comments on commit de76434

Please sign in to comment.