OnlineJudge/.travis.yml

17 lines
404 B
YAML
Raw Normal View History

2016-03-28 10:53:43 +00:00
language: python
python:
- "3.6"
2017-10-31 13:08:06 +00:00
services:
- docker
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
2017-01-23 08:25:14 +00:00
- 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