forked from otto-torino/django-baton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 1012 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
28
29
30
31
32
33
34
35
36
# Config file for automatic testing at travis-ci.org
language: python
python:
- 3.6
install:
- pip install --upgrade pip
- pip install $DJANGO_VERSION --upgrade
- pip install google-api-core==1.23.0
- pip install google-api-python-client==1.12.4
- pip install google-auth==1.22.1
- pip install google-auth-httplib2==0.0.4
- pip install webdriver-manager
- pip install python-dotenv
- pip install django-filer
- pip install django-tinymce
- pip install django-admin-rangefilter
- pip install django-admin-autocomplete-filter==0.6.1
- pip install django-import-export
- pip install docutils
- django-admin.py --version
- pip install selenium
before_script:
- cd testapp/app && python manage.py migrate && python manage.py runserver &
- sleep 3
env:
global:
- DJANGO_VERSION='Django>=2.2,<3.0'
- DJANGO_VERSION='Django>=3.0,<3.3'
script:
- cd testapp/app && python manage.py test
branches:
only:
- master
- feature/e2e-tests
- debug/tests
sudo: false