-
Notifications
You must be signed in to change notification settings - Fork 7
/
rci.yml
25 lines (24 loc) · 891 Bytes
/
rci.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
git:
url: https://github.com/alttch/finac
branch: master
secret: null
commands:
build: null
test: |
[ ! -d ./venv ] && python3 -m venv venv && ./venv/bin/pip install -r test_req.txt
export SQLALCHEMY_SILENCE_UBER_WARNING=1
./venv/bin/python ./tests/test.py --redis
./venv/bin/python ./tests/test.py --dbconn mysql://finac:123@localhost/finac
./venv/bin/python ./tests/test.py --dbconn postgresql://finac:123@localhost/finac
./venv/bin/python ./tests/test.py --multiplier 1000 --remote
./venv/bin/python ./tests/test.py --dbconn mysql://finac:123@localhost/finac --multiplier 1000
./venv/bin/python ./tests/test.py --dbconn postgresql://finac:123@localhost/finac --multiplier 1000 --remote
release: |
rm -rf dist build finac.egg-info
python3 setup.py sdist
twine upload dist/*
on:
success: null
fail: null
timeout: 600
enabled: true