https://github.com/GeoscienceAustralia/PyRate
Tip revision: acf7ae0d8819410e8e92241ca6531716471b6db3 authored by Syed Sheece Raza Gardezi on 31 October 2019, 00:02:32 UTC
Update history.rst
Update history.rst
Tip revision: acf7ae0
.travis.yml
branches:
only:
- develop
- /^release-.*$/
- /.*-travis$/
- master
os: linux
dist: bionic # Ubuntu 18.04
language: python
cache: pip
python:
- "3.6"
- "3.7"
before_install:
- sudo apt-get update
- sudo apt-get -y install gdal-bin
- sudo apt-get -y install libgdal-dev
- sudo apt-get -y install openmpi-bin
- sudo apt-get -y install libopenmpi-dev
- export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/gdal
- export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/gdal
- pip install -U pip
- pip install codecov
install:
- pip install -r requirements-test.txt
- pip install -r requirements-dev.txt
- python setup.py install
- export PYRATEPATH=$(pwd)
- export PYTHONPATH=$PYRATEPATH:$PYTHONPATH
- chmod 444 tests/test_data/small_test/tif/geo_070709-070813_unw.tif # makes the file readonly, used in a test
# command to run tests, e.g. python setup.py test
script:
- pip install numpy==1.16.4
- pytest --cov-report term-missing:skip-covered --cov=pyrate tests/
after_success:
- codecov
jobs:
include:
- stage: deploy
python: 3.6
script:
- pip install numpy==1.16.4
- cd docs && make html
deploy:
provider: pages
skip-cleanup: true
keep-history: true
verbose: true
on:
branch: master
github-token: $GITHUB_TOKEN
local-dir: docs/_build/html
project_name: PyRate
email: insar@ga.gov.au
name: InSAR Team
notifications:
email:
recipients:
- $SHEECE_EMAIL
on_success: never
on_failure: always