Skip to content

Commit

Permalink
Make coveralls conditional on Travis
Browse files Browse the repository at this point in the history
Update minimum pysam version.
  • Loading branch information
PeteHaitch committed Nov 10, 2015
1 parent ea64330 commit 5841a58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
language: python
python:
# - "2.6" # Won't support until given reason to. See https://github.com/PeteHaitch/methtuple/issues/75.
# - "2.6" # Won't support until given reason to. See
# https://github.com/PeteHaitch/methtuple/issues/75.
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"

install:
- python setup.py install
- pip install coveralls
- python setup.py install
- pip install coveralls
script:
- python setup.py test
- coverage run --source=methtuple setup.py test
- python setup.py test
- coverage run --source=methtuple setup.py test
after_success:
- coveralls
# The coveralls Python module does not support Python 3.2.
- if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then; coveralls; fi
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ C: {2, 3, 4}

## Installation and dependencies

`methtuple` is written in Python and relies upon the `pysam` module. __NOTE: `methtuple` now requires `pysam v0.8.3` or greater.__
`methtuple` is written in Python and relies upon the `pysam` module. __NOTE: `methtuple` now requires `pysam v0.8.4` or greater.__

Running `python setup.py install` will attempt to install `pysam` if it isn't found on your system. Alternatively, instructions for installing `pysam` are available from [https://github.com/pysam-developers/pysam](https://github.com/pysam-developers/pysam).

I have extensively used and tested `methtuple` with Python 2.7. It should also work on Python 3.2, 3.3 and 3.4 with the current version of `pysam` (`v0.8.3`), as indicated by the [Travis-CI builds](https://travis-ci.org/PeteHaitch/methtuple).
I have extensively used and tested `methtuple` with Python 2.7. It should also work on Python 3.2, 3.3, and 3.4 with the current version of `pysam` (`v0.8.4`), as indicated by the [Travis-CI builds](https://travis-ci.org/PeteHaitch/methtuple).

### Using `pip`

Expand All @@ -91,7 +91,7 @@ The simplest way:
pip install methtuple
```

`methtuple` is written in Python and requires the `pysam` module. __NOTE: `methtuple` now requires `pysam v0.8.3` or greater.__
`methtuple` is written in Python and requires the `pysam` module. __NOTE: `methtuple` now requires `pysam v0.8.4` or greater.__

Alternatively, after cloning or downloading the `methtuple` git repositority, simply run:

Expand Down

0 comments on commit 5841a58

Please sign in to comment.