diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-02 20:12:06 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-02 20:12:06 +0200 |
commit | c747b62d02dba0e20b0b55fe0445bfe27313d55a (patch) | |
tree | 68b5b0c3526ff83a1005b38a2dbd2e11677e7d64 | |
parent | 59c50ff4a69d94683a8d996f24e9a3cdb4566b9b (diff) | |
download | psutil-c747b62d02dba0e20b0b55fe0445bfe27313d55a.tar.gz |
experiments with travis/osx
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index c4a3a2be..f9732926 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: python +os: + - osx + - linux sudo: false python: - 2.6 @@ -8,20 +11,19 @@ python: - 3.4 # - pypy install: + - echo $TRAVIS_OS_NAME - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -U ipaddress unittest2 mock==1.0.1; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -U ipaddress mock; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install -U ipaddress mock; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install -U ipaddress; fi - pip install coverage coveralls flake8 pep8 script: + - echo $TRAVIS_OS_NAME - python setup.py build - python setup.py install - coverage run test/test_psutil.py --include="psutil/*" --omit="test/*,*setup*" - python test/test_memory_leaks.py - flake8 - pep8 -os: - - linux - - osx after_success: - coveralls # upload reports to coveralls.io |