Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6be0a17
commit d101455
Showing
3 changed files
with
6 additions
and
33 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
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,9 +1,2 @@ | ||
#!/bin/bash | ||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
pip3 install tox | ||
exit 0 | ||
fi | ||
pip install -r requirements.txt | ||
python setup.py install | ||
# Make sure tox is installed and up to date | ||
pip install -U tox | ||
pip install -r dev-requirements.txt |
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,9 +1,10 @@ | ||
#!/bin/bash | ||
# Dump Environment (so that we can check PATH, UT_FLAGS, etc.) | ||
set | ||
set -e | ||
set -x | ||
|
||
python version_check.py | ||
python -m bandit -r opem -s B322 | ||
python -m vulture --min-confidence 80 --exclude=opem,build,.eggs --sort-by-size . | ||
tox -- --cov=opem --cov-report=term | ||
python -m pytest opem/Test --cov=opem --cov-report=term | ||
python -m cProfile -s cumtime opem/Profile.py |