forked from topydo/topydo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (46 loc) · 1.02 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
sudo: false # run on new infrastructure
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
env:
- GREEN_OPTS=
matrix:
include:
- python: "pypy3"
env: GREEN_OPTS='--processes 1'
allow_failures:
- python: "3.3"
- python: "3.4"
install:
- "python -m pip install pip --upgrade"
- "pip install ."
- "pip install .[columns]"
- "pip install .[ical]"
- "pip install .[prompt]"
- "pip install .[test]"
- "pip install pylint"
- "pip install codecov"
- "pip install -U isort"
script:
- "green -vvr $GREEN_OPTS"
- "python -m pylint --errors-only topydo test"
- "isort -c -rc ."
# Cache Dependencies
after_script:
- codecov
cache:
directories:
- $HOME/travis/.cache/pip
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b7a69031304c472294ac
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false