Skip to content

Commit

Permalink
Merge pull request #2 from kb1lqc/travisci
Browse files Browse the repository at this point in the history
Merging travisci branch into develop
  • Loading branch information
kb1lqc authored Jan 27, 2018
2 parents e5bc90c + 61b5d0a commit ac98d49
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +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/
- ~/virtualenv/python3.5/bin/flake8 --exclude docs/ .
- sudo ~/virtualenv/python3.5/bin/pytest tests/

0 comments on commit ac98d49

Please sign in to comment.