Skip to content

Commit

Permalink
Updated travis.yml with direct virtual environment links
Browse files Browse the repository at this point in the history
* Running code from virtual environment specifically
* Cleaned up unused code
* Added comments
  • Loading branch information
kb1lqc committed Jan 27, 2018
1 parent ff0473c commit a36b10b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Specify sudo and dist for Travis-CI environment
sudo: required
dist: trusty

# Specify Python versions being used and tested
language: python
python:
- "3.5"

# Install dependencies
# Install dependencies to virtual environment
install:
- pip3 install -r requirements.txt
- ~/virtualenv/python3.5/bin/pip3 install -r requirements.txt

# Run tests
# Run tests from virtual environment
script:
- flake8 --exclude docs/ .
# - pytest --ignore=tests/test_tun.py tests/
- sudo ~/virtualenv/python3.5/bin/pip3 freeze
- ~/virtualenv/python3.5/bin/flake8 --exclude docs/ .
- sudo ~/virtualenv/python3.5/bin/pytest tests/

0 comments on commit a36b10b

Please sign in to comment.