-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (22 loc) · 828 Bytes
/
.travis.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
25
26
27
language: python
python:
- "3.6"
install:
- python setup.py sdist
- pip install dist/django-mothulity-*.tar.gz
- cd $HOME
- django-admin startproject django_project
- cd django_project/django_project
- wget https://gist.githubusercontent.com/dizak/17838471a52cf5d74484329529262d6d/raw/b0f892784a9e74df69b429b92e3af9cf85ca5f06/django-mothulity-settings.py
- wget https://gist.githubusercontent.com/dizak/1625ba563ccab2b953a4c1cdeb840204/raw/fb0d64c9ce13ebccde72f4ebef48bb5f2c190faf/django-mothulity-urls.py
- mv django-mothulity-settings.py settings.py
- mv django-mothulity-urls.py urls.py
before_script:
- cd $HOME/django_project/
- python manage.py makemigrations
- python manage.py migrate
script:
- python manage.py test mothulity
notifications:
on_success: never
on_failure: always