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
Showing
2 changed files
with
48 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
language: python | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- python: 2.7 | ||
- os: osx | ||
language: generic | ||
|
||
before_install: | ||
- | | ||
if [[ $TRAVIS_OS_NAME == "osx" ]]; then | ||
brew update || brew update | ||
brew install libmagic | ||
# The following wasn't required in the past and therefore may become | ||
# obsolete once again in the future. Let's wait and see. | ||
wget https://bootstrap.pypa.io/get-pip.py | ||
sudo python get-pip.py | ||
sudo pip install virtualenv | ||
virtualenv $HOME | ||
source $HOME/bin/activate | ||
fi | ||
install: | ||
- pip install -e . | ||
- pip install pytest pytest-cov codecov coveralls | ||
|
||
script: | ||
- py.test --cov=roach | ||
|
||
after_success: | ||
- codecov | ||
- coveralls |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
environment: | ||
matrix: | ||
- PYTHON: "C:/Python27" | ||
|
||
install: | ||
- "%PYTHON%/Scripts/pip.exe install -e ." | ||
- "%PYTHON%/Scripts/pip.exe install pytest pytest-cov codecov" | ||
|
||
build: false | ||
|
||
test_script: | ||
- '%PYTHON%/Scripts/pytest.exe --cov=roach' | ||
|
||
after_test: | ||
- "codecov.exe" |