forked from xmendez/wfuzz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.55 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
sudo: required
language: python
services:
- docker
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- docker-compose -f tests/server_dir/docker-compose.yml up -d
install:
- pip install coverage
- pip install mock
- pip install netaddr
- pip install flake8
- pip install codecov
- python setup.py install
script:
- flake8 --ignore=E501,E402,F401,W504 src tests
- coverage run --append -m unittest discover -v -s tests/
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' && $TRAVIS_BRANCH == 'master' ]]; then codecov; fi
stages:
- test
- name: deploy
if: branch = master AND tag IS present
jobs:
include:
- stage: deploy
python: 3.6
before_install: true
script: true
install: true
deploy:
provider: pypi
user: x4vi_mendez
password:
secure: 2RYIxfqS0J5wct9O7nnEkR3eJq4rd54WVwQi0CyUjHNbtPciQEtunyfYB7saoli3Y+e6iYAukVqeskYsCsuwZn6fi3nucp6pey+TZUHnsycQSCNGQfxBVOOv0iUCqgWIeu7/ImLuJvU6iBUpAiAsloAoboaqhFTTWaKk/Qfux5UPIKrERsY0SI0wfzu51SSgFYIeQMuRQiwqs5qzP+EHVP2gxdVL4164G6bGIGGadXXbxaZGN8qNfpAVKSA6/VZwz59YQQ75SN7GzPaagOcwvF+rBl6WtFOucpexDPtlgnTE7CASm0trULq+7p7CnP6FN2BcKDk9zl6QBwpmxSzd9O4JmpswGguiMrPIop0nvRWLOzw0/ofnXhHaxQCTiGAFjIEan/OrT/1OFmgpsbBcozZd7FCBLCl7qWVtPSpyXuVFuAbokRmQYsy8tlGtLxvCMDvgQcRYhVWcZKrGGdxZhH1GFoyEG3bDML3NF3JLpXdSZQ/qm57A3ATyzjaLCuidhPM52FET14sMeu8UPXlUaPBIzHtlQqF7h7AhorZvFg2wJbzfICf8wU7rMZip9WMQXsDWcvaVLyuIM30W7EjoKWFr1KaYeMf1cnmPE5N2PPABJWcFmVXXBymnamSmh9dRA2jpVfQnodAOxWUo/RUofjdRK2F+td6D/F4zV+WvDJE=
on:
branch: master
tags: true