Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
language: python
services: docker
python:
- 3.4
- 3.5
- 3.6
install:
- pip --version
- pip install -r test-requirements.txt
- pip install pep8
- pip install pep8
before_script:
- pep8 -v *.py VHostScan/
script:
- pytest
- docker build -t VHostScan .
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu:latest

RUN mkdir /app

ADD . /app

RUN apt-get update; apt-get install -y python3 python3-pip

RUN cd /app && pip3 install -r test-requirements.txt && python3 setup.py install

ENTRYPOINT ["VHostScan"]