Skip to content

Commit

Permalink
travis ci and appveyor integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jbremer committed Mar 26, 2018
1 parent 4156d04 commit 66a6ff3
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
@@ -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
15 changes: 15 additions & 0 deletions appveyor.yml
@@ -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"

0 comments on commit 66a6ff3

Please sign in to comment.