forked from nitely/Spirit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
72 lines (71 loc) · 1.72 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: python
dist: xenial
python:
- "3.6"
- "3.7"
- "3.8"
env:
- DJANGO=2.2.16
- DJANGO=3.0.7
- DJANGO=3.1.1
install:
- pip install --upgrade pip
- pip install .[files]
- pip install .[huey]
- pip install .[celery]
- pip uninstall django-spirit -y
- pip install -q Django==$DJANGO
- pip install pep8==1.5.7 flake8
script:
- flake8 --exit-zero
- python setup.py build
- python ./spirit/extra/bin/spirit.py startproject project
- export PYTHONWARNINGS="default"
- make test
notifications:
email:
on_failure: never
on_success: never
jobs:
include:
- language: node_js
node_js: 12
script:
- yarn
- make testjs
install: []
env: []
after_success: []
- name: "No opt deps"
language: python
python: "3.8"
install:
- pip install --upgrade pip
- pip install .
- pip uninstall django-spirit -y
- pip install -q Django==3.0.3
script:
- python ./spirit/extra/bin/spirit.py startproject project
- export PYTHONWARNINGS="default"
- export ST_UPLOAD_FILE_ENABLED=0
- export ST_INSTALL_HUEY=0
- python runtests.py
env: []
after_success: []
- name: "Huey"
language: python
python: "3.8"
install:
- pip install --upgrade pip
- pip install .
- pip install .[huey]
- pip uninstall django-spirit -y
- pip install -q Django==3.0.3
script:
- python ./spirit/extra/bin/spirit.py startproject project
- export PYTHONWARNINGS="default"
- export ST_UPLOAD_FILE_ENABLED=0
- export ST_TASK_MANAGER="huey"
- python runtests.py
env: []
after_success: []