Skip to content

Commit

Permalink
travis test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Jul 1, 2020
1 parent f01431f commit adb3b32
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
matrix:
include:
- os: linux
sudo: false
language: python
python: 2.7
python:
- 3.5
- os: linux
language: python
python:
- 3.6
- os: linux
language: python
python:
- 3.7
- os: linux
language: python
python:
- 3.8
- os: osx
language: generic
env: PYTHON=3.6.3
Expand Down Expand Up @@ -50,6 +62,6 @@ install:
script:
- python setup.py -q test
- check-manifest --ignore
"tox.ini,test*,dev*,docs*,taxtastic/data,taxtastic/data/*"
"tox.ini,tests/**/*,testfiles/**/*,docs/*,taxtastic/data/*"
- python setup.py check --metadata --restructuredtext --strict
# - flake8 taxtastic
3 changes: 2 additions & 1 deletion taxtastic/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with taxtastic. If not, see <http://www.gnu.org/licenses/>.
import csv
import errno
import logging
import os
import re
Expand Down Expand Up @@ -240,7 +241,7 @@ def has_rppr(rppr_name='rppr'):
try:
subprocess.check_call([rppr_name], stdout=dn, stderr=dn)
except OSError as e:
if e.errno == os.errno.ENOENT:
if e.errno == errno.ENOENT:
return False
else:
raise
Expand Down

0 comments on commit adb3b32

Please sign in to comment.