forked from savon-noir/python-libnmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (41 loc) · 1.14 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.5" Not needed EL can use epel to upgrade to 2.6
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
env:
# - MONGO_VERSION=1.2.12
# - MONGO_VERSION=1.3.2
# - MONGO_VERSION=1.3.7
- MONGO_VERSION=2.4.3
services: mongodb
before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install nmap -qq"
install:
- "pip install pep8"
- "pip install pyflakes"
# - "pip install boto" # disabled: since boto not supporting py3
# - "pip install pymongo sqlalchemy MySQL-python" # disabled MySQL-python (not py3 compatible)
- "pip install pymongo sqlalchemy pymysql"
- "pip install coveralls"
- "python setup.py install"
before_script:
- "pep8 . --exclude test,docs,examples"
- "pyflakes ."
- mysql -e 'create database poulet;'
script: nosetests --with-coverage --cover-package=libnmap
after_success:
coveralls
deploy:
on:
tags: true
provider: pypi
user: savon_noir
password:
secure: WiMQsq+IMzAsS+cNKyKT7u7PlwGwkH0t2eoBitP0ckIw6kNWlbM/HCCm6aa9Ns9LpIzI82x26Vg77bu+yiMxUzZPS8pxCJXL9fFGs7Qc6VC9S0iHUX+FCkhFEFvPl35YRGFuY0YQyF2oj9vZPPFFmXzY2JSOBHxVevgdsrw1BQM=