This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
498 changed files
with
17,977 additions
and
7,704 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
.git | ||
.idea | ||
api_gateway/client/node_modules | ||
docs | ||
data/registry/ | ||
data/postgres/ | ||
data/redis/ | ||
data/portainer/ | ||
data/minio/ | ||
testing | ||
venv | ||
api/client/node_modules | ||
socketio/node_modules | ||
__pycache__ | ||
**/__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# ref: https://docs.travis-ci.com/user/languages/python | ||
sudo: required | ||
os: | ||
- linux | ||
language: python | ||
python: | ||
- "3.7" | ||
- "3.8" | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
- CONFIG_PATH=data/local_config.yml | ||
|
||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-compose | ||
- pip install -U pip | ||
- pip install -U pytest | ||
- pip install -U coverage | ||
|
||
# command to install dependencies | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install -r api/requirements.txt | ||
- pip install -r testing/requirements.txt | ||
|
||
before_script: | ||
- docker swarm init | ||
- ./walkoff.sh up -bdyr | ||
|
||
# command to run tests | ||
script: | ||
- pytest --cov=api testing/api | ||
#- coverage combine | ||
- coverage report | ||
|
||
after_script: | ||
- ./walkoff.sh down -cdy |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.