Skip to content

Commit

Permalink
why did builds stop
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavika committed Feb 20, 2020
1 parent c751aa1 commit 79e81d4
Showing 1 changed file with 8 additions and 34 deletions.
42 changes: 8 additions & 34 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,28 @@ language: python
sudo: false

cache:
# Apparently if you override the install command that silently disables the
# cache: pip support. This is less than ideal and I've opened up
# travis-ci/travis-ci#3239 to hopefully get that addressed. For now I'll
# manually add the pip cache directory to the build cache.
directories:
- ~/.cache/pip

env:
global:
# These two environment variables could be set by Travis itself, or Travis
# could configure itself in /etc/, ~/, or inside of the virtual
# environments. In any case if these two values get configured then end
# users only need to enable the pip cache and manually run pip wheel before
# running pip install.
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels

jobs:
include:
- python: "3.6"
env:
GDALVERSION="2.3.3"
- python: "3.7"
GDALVERSION="2.4.4"

addons:
apt:
packages:
- libhdf5-serial-dev
- libgdal-dev
- libatlas-dev
- libatlas-base-dev
- gfortran
python:
- "2.7"
- "3.6"

before_install:
- pip install -U pip
- pip install wheel
- pip install -r requirements-dev.txt

install:
- "pip wheel -r requirements.txt"
# Actually install our dependencies now, this will pull from the directory
# that the first command placed the Wheels into.
- "pip install -r requirements.txt"
- "pip install coveralls"
- "pip install -e .[test]"
- pip install -e .[test]

script:
- py.test --cov untiler --cov-report term-missing
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pre-commit run --all-files; fi
- python -m pytest --cov untiler --cov-report term-missing

after_success:
- coveralls
- coveralls

0 comments on commit 79e81d4

Please sign in to comment.