OnlineJudge/.travis.yml

18 lines
440 B
YAML
Raw Normal View History

2016-03-28 10:53:43 +00:00
language: python
python:
2021-11-18 04:38:49 +00:00
- "3.8"
2017-10-31 13:08:06 +00:00
services:
- docker
2021-11-18 04:38:49 +00:00
- postgresql
2016-03-28 10:53:43 +00:00
install:
2017-01-23 08:05:52 +00:00
- pip install -r deploy/requirements.txt
2018-05-05 08:52:54 +00:00
- echo `cat /dev/urandom | head -1 | md5sum | head -c 32` > data/config/secret.key
2019-01-05 05:13:06 +00:00
- ./init_db.sh
2016-03-28 10:53:43 +00:00
script:
2017-10-31 13:08:06 +00:00
- docker ps -a
2021-11-18 04:38:49 +00:00
- flake8 --config=./.flake8 .
2017-11-23 13:12:37 +00:00
- coverage run --include="$PWD/*" manage.py test
2017-01-24 05:28:32 +00:00
- coverage report
2017-04-16 05:08:11 +00:00
notifications:
slack: onlinejudgeteam:BzBz8UFgmS5crpiblof17K2W