This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.73 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
dist: bionic
language: python
python:
- '3.6'
- '3.7'
- '3.8'
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.cache/pipenv"
env:
global:
- PIPENV_IGNORE_VIRTUALENVS=1
- PIPENV_PYUP_API_KEY=""
install:
- (cd manager && pipenv install --dev --deploy)
- (cd orchestrator && pipenv install --dev --deploy)
- (cd router && pipenv install --dev --deploy)
- (cd shell && pipenv install --dev --deploy)
script:
# shared
- (cd manager && pipenv run ../shared/scripts/format.sh)
- (cd shared && test -z "$(git status --porcelain=v1 .)") # If this fails, you forgot to run scripts/format.sh
- (cd manager && pipenv run ../shared/scripts/check.sh)
# manager
- (cd manager && pipenv run ./scripts/format.sh)
- (cd manager && pipenv run ./scripts/static_templates_format.sh)
- (cd manager && test -z "$(git status --porcelain=v1 .)") # If this fails, you forgot to run scripts/format.sh or scripts/static_templates_format.sh
- (cd manager && pipenv run ./scripts/check.sh)
- (cd manager && pipenv check)
# orchestrator
- (cd orchestrator && pipenv run ./scripts/format.sh)
- (cd orchestrator && test -z "$(git status --porcelain=v1 .)") # If this fails, you forgot to run scripts/format.sh
- (cd orchestrator && pipenv run ./scripts/check.sh)
- (cd orchestrator && pipenv check)
# router
- (cd router && pipenv run ./scripts/format.sh)
- (cd router && test -z "$(git status --porcelain=v1 .)") # If this fails, you forgot to run scripts/format.sh
- (cd router && pipenv run ./scripts/check.sh)
- (cd router && pipenv check)
# shell
- (cd shell && pipenv run ./scripts/format.sh)
- (cd shell && test -z "$(git status --porcelain=v1 .)") # If this fails, you forgot to run scripts/format.sh
- (cd shell && pipenv run ./scripts/check.sh)
- (cd shell && pipenv check)