forked from wikimedia/editquality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 800 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
37
38
39
language: python
dist: trusty
python:
- "3.5"
addons:
apt:
packages:
- enchant
- aspell-hu
- myspell-en-au
- myspell-en-gb
- myspell-en-us
- myspell-en-za
# command to install dependencies
install:
- pip install -r requirements.txt
- python setup.py install
- pip install codecov
- pip install flake8
- python -m nltk.downloader stopwords
script:
- flake8 . --ignore=E722 --max-line-length=85
- coverage run --source editquality -m pytest -m "not nottravis"
after_success:
- coverage report
- codecov
notifications:
irc:
channels:
- "chat.freenode.net#wikimedia-ai"
on_success: change
on_failure: change
template:
- "%{repository_slug}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} %{build_url}"