-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kb1lqc/travisci
Merging travisci branch into develop
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |