-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
34 lines (26 loc) · 1.31 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
language: python
sudo: false
python:
- 3.5
env:
global:
secure: "SFMDlk2sWkdT5For+vMgDLHCulPfQcXTULq/Qa+ME4fY1P9oSDc65zgpzIlnGC8kC21riLqH6Bbx7WqwWlLFvCg36KqNzJWYELQe+IRapRysCCFSY3Grix0xYlMNQmMnuBwkboyrQYP+RN/KLoOv1k4n2JgcZ+4PTi6/4J9Npd6TPmuC/dhTpqjsoeo+WLI0qJbnXmtOBCWgHiPsznbe5FC+MhbwtsotC4w8yFKkiQPYjRCtIcB0de2bQRc0/JqypqytQ4w0NG0BaVQvuQcuh+DWw/xmfhOS/3wlHPlVJRmerUSu7hk1/qQTKaqp1EHnjt36jmEuuEc8SOxXbL6sNUmNM/iGltMbzJ/dhJKbihxiXacBSHsHtY7B2iZBmPi+IMjLkE6usZij1NuKr28Q8olzstjbmebOmVlj2DDqGwTt7A4DvH5/NyouHUSRIye+3Cbf12HyICQFzQE63RdFLMGXe2e41zy+WFBmNgz9MQXy9WyfPGLYfueOvQ4snKfxjXOTWmpuyWYsYqzDgUpmtkAjOuWZXkkWVRhIyrz12AQxnpdafYy6D8bwsnqU9IaGG7N7c/vd66CYscAH3htbE+COtF+R98+Xs4dkSDST4FNad/X1hoNiangGjfHaGfuLwuJxBHIAn55FCzwjYQ+UhlPrSbZVN9oC0ADRJWy7jj4="
cache:
directories:
- $HOME/.cache/pip
install:
- pip install flake8 coveralls codacy-coverage .
# Not yet on pypi :(
- pip install git+git://github.com/pefoley2/irc2
before_script:
- cp config.example config.cfg
- sed -i /token/d config.cfg
- echo 'token = ' ${SLACK_TOKEN} >> config.cfg
script:
- flake8 --max-line-length=200 .
# TODO(pefoley): Write actual tests
- coverage run ./setup.py test
after_success:
- coverage xml
- python-codacy-coverage -r coverage.xml -c `git rev-parse HEAD^`
- coveralls