forked from rsmusllp/king-phisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 1.09 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
language: python
python:
- "2.7"
env:
global:
- KING_PHISHER_TEST_GEOIP_DB="./GeoLite2-City.mmdb"
cache:
- apt
branches:
except:
- screenshots
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 libgtksourceview-3.0-0 python-cairo python-gi python-gi-cairo python-gobject python-gobject-2 python-gobject-dev python-paramiko
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- pip install docutils pylint sphinx
- pip install sphinxcontrib-domaintools sphinxcontrib-httpdomain
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements.txt; fi
- wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
- gunzip -f GeoLite2-City.mmdb.gz
script:
- pylint --rcfile data/pylintrc king_phisher
- python -m unittest -v tests
- sphinx-build -v -b html docs/source docs/html
notifications:
irc:
channels:
- "chat.freenode.net#king-phisher"
on_success: change
on_failure: always