Skip to content

Commit

Permalink
fix travis and install
Browse files Browse the repository at this point in the history
  • Loading branch information
elbeejay committed Apr 5, 2020
1 parent 89fc3a2 commit f2bccbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ python:
- "3.7"
- "3.8"
install:
- sudo apt-get install -qq python-gdal
- pip install conda
- conda install gdal
- pip install -r requirements.txt
- pip install pytest
# command to run tests
Expand All @@ -17,8 +18,10 @@ jobs:
- stage: coverage
python: "3.8"
install:
- pip install conda
- conda install gdal
- pip install -r requirements.txt
- pip install pytest pytest-cov coveralls
script: pytest --cov=rivamap/
after_success:
after_success:
- coveralls
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ def read(fname):
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
install_requires=['numpy', 'scipy', 'matplotlib'],
install_requires=['numpy', 'scipy', 'matplotlib', 'gdal'],
)

0 comments on commit f2bccbb

Please sign in to comment.