Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
routersploit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
czos-dpend
routersploit
Commits
567d2c93
Unverified
Commit
567d2c93
authored
May 08, 2018
by
Marcin Bury
Committed by
GitHub
May 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding travis (#396)
parent
7383c584
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
4 deletions
+72
-4
.travis.yml
.travis.yml
+24
-0
install.sh
.travis/install.sh
+24
-0
run.sh
.travis/run.sh
+13
-0
requirements-dev.txt
requirements-dev.txt
+8
-0
tox.ini
tox.ini
+3
-4
No files found.
.travis.yml
0 → 100644
View file @
567d2c93
language
:
python
matrix
:
include
:
-
os
:
linux
python 3.5
-
os
:
linux
python 3.6
-
os
:
osx
language
:
generic
env
:
PYTHON_VERSION=3.5.3
-
os
:
osx
language
:
generic
env
:
PYTHON_VERSION=3.6.1
install
:
-
"
./.travis/install.sh"
script
:
-
"
./.travis/run.sh"
.travis/install.sh
0 → 100644
View file @
567d2c93
#!/bin/bash
set
-e
set
-x
if
[[
"
$(
uname
-s
)
"
==
'Darwin'
]]
;
then
sw_vers
git clone
--depth
1 https://github.com/yyuu/pyenv.git ~/.pyenv
PYENV_ROOT
=
"
$HOME
/.pyenv"
PATH
=
"
$PYENV_ROOT
/bin:
$PATH
"
eval
"
$(
pyenv init -
)
"
pyenv install
$PYTHON_VERSION
pyenv global
$PYTHON_VERSION
pyenv rehash
pip install
--user
--upgrade
pip
pip install
--user
virtualenv
python
-m
virtualenv ~/.venv
source
~/.venv/bin/activate
fi
python
-m
pip install
-r
requirements-dev.txt
.travis/run.sh
0 → 100644
View file @
567d2c93
#!/bin/bash
set
-e
set
-x
if
[[
"
$(
uname
-s
)
"
==
"Darwin"
]]
;
then
PYENV_ROOT
=
"
$HOME
/.pyenv"
PATH
=
"
$PYENV_ROOT
/bin:
$PATH
"
eval
"
$(
pyenv init -
)
"
source
~/.venv/bin/activate
fi
python
-m
pytest
-n16
tests/
requirements-dev.txt
0 → 100644
View file @
567d2c93
future>=0.16.0
requests>=2.9.1
paramiko>=1.16.0
pysnmp>=4.3.2
pycrypto==2.6.1
pytest==3.5.1
pytest-forked==0.2
pytest-xdist==1.22.2
tox.ini
View file @
567d2c93
[tox]
skipsdist
=
True
envlist
=
py
27,py34,py
35,py36
envlist
=
py35,py36
[testenv]
deps
=
mock
pexpect
pytest
-r{toxinidir}/requirements.txt
commands
=
python -m
unittest discover
commands
=
python -m
pytest -n16 tests/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment