forked from wikimedia/revscoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
68 lines (67 loc) · 1.47 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
os: linux
dist: trusty
group: stable
language: python
sudo: required
python:
- "3.5"
addons:
apt:
packages:
- g++
- gfortran
- libblas-dev
- liblapack-dev
- libopenblas-dev
- python3-dev
- enchant
- aspell-ar
- aspell-bn
- myspell-cs
- aspell-de
- myspell-es
- myspell-en-au
- myspell-en-gb
- myspell-en-us
- myspell-en-za
- aspell-et
- aspell-el
- myspell-fa
- myspell-fr
- myspell-he
- aspell-hi
- aspell-hu
- aspell-id
- myspell-it
- myspell-nb
- aspell-nl
- aspell-pl
- aspell-sv
- myspell-pt
- aspell-ro
- aspell-ru
- aspell-ta
- aspell-uk
- hunspell-vi
before_install: {}
install:
- python --version
- pip install 'numpy >= 1.8.2, < 1.10.999'
- travis_wait pip install -r requirements.txt || date
- python -c "import numpy;print(numpy.__version__)"
- python -c "import scipy;print(scipy.__version__)"
- python -m nltk.downloader stopwords
- pip install codecov
script:
- nosetests -v --with-coverage --cover-package=revscoring --exclude="test_hindi.py|test_tamil.py|test_bengali.py"
- flake8 . --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,doc
after_success:
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}"