2017-03-10 03:00:01 +00:00
|
|
|
language: python
|
2017-10-06 01:39:28 +00:00
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- postgresql
|
|
|
|
env:
|
|
|
|
- TESTING_DATABASE_URL='mysql+pymysql://root@localhost/ctfd'
|
|
|
|
- TESTING_DATABASE_URL='sqlite://'
|
|
|
|
- TESTING_DATABASE_URL='postgres://postgres@localhost/ctfd'
|
2017-03-10 03:00:01 +00:00
|
|
|
python:
|
|
|
|
- 2.7
|
2017-05-21 16:43:31 +00:00
|
|
|
- 3.6
|
2017-03-10 03:00:01 +00:00
|
|
|
install:
|
|
|
|
- pip install -r development.txt
|
2017-10-06 01:39:28 +00:00
|
|
|
before_script:
|
|
|
|
- psql -c 'create database ctfd;' -U postgres
|
2017-03-10 03:00:01 +00:00
|
|
|
script:
|
2017-05-12 04:34:20 +00:00
|
|
|
- pep8 --ignore E501,E712 CTFd/ tests/
|
2018-05-03 22:04:39 +00:00
|
|
|
- nosetests -v -d --with-randomly
|
2017-12-11 11:42:07 +00:00
|
|
|
after_success:
|
|
|
|
- codecov
|