Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • fcb5121
  • /
  • .travis.yml
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:92415c36d7cb52296e804c2ac981e6a968b9f6a1
directory badge
swh:1:dir:fcb5121e280355e8eb975820a13e9558c9226d62

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
.travis.yml
language: python

dist: xenial

env:
  global:
    - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
    - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
    - GDALINST=$HOME/gdalinstall
    - GDALBUILD=$HOME/gdalbuild
    - PROJINST=$HOME/gdalinstall
    - PROJBUILD=$HOME/projbuild


# nci version is GDALVERSION="3.0.2" and python3.7
jobs:
  include:
    - python: "3.6"
      env: GDALVERSION="3.0.2" PROJVERSION="6.1.1"
    - python: "3.7"
      env: GDALVERSION="3.0.2" PROJVERSION="6.2.1"
    - python: "3.7"
      env: GDALVERSION="3.0.4" PROJVERSION="6.1.1"
    - python: "3.8"
      env: GDALVERSION="3.0.4" PROJVERSION="6.1.1"

addons:
  apt:
    packages:
      - libhdf5-serial-dev
      - libgdal-dev
      - libatlas-dev
      - libatlas-base-dev
      - gfortran
      - openmpi-bin
      - libopenmpi-dev


before_install:
  - python -m pip install -U pip
  - python -m pip install wheel
  - export PATH=$GDALINST/gdal-$GDALVERSION/bin:$PATH
  - export LD_LIBRARY_PATH=$GDALINST/gdal-$GDALVERSION/lib:$LD_LIBRARY_PATH
  - . ./scripts/travis_proj_install.sh
  - travis_wait 20 . ./scripts/travis_gdal_install.sh
  - export GDAL_DATA=$GDALINST/gdal-$GDALVERSION/share/gdal
  - export PROJ_LIB=$GDALINST/gdal-$GDALVERSION/share/proj


install:
  - sed -i '/^GDAL/d' requirements.txt
  - pip install -r requirements.txt -r requirements-dev.txt -r requirements-test.txt
  - pip install GDAL==$(gdal-config --version)
  - python setup.py install
  - rm -rf Py_Rate.egg-info  # remove the local egg
  - 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


script:
  - git clone https://github.com/jmettes/PyRate-data.git
  - ls -LR PyRate-data
  - pytest tests/ -m "slow"
  - pytest --cov-config=.coveragerc --cov-report term-missing:skip-covered --cov=pyrate tests/ -m "not slow"

after_success:
  - codecov

before_deploy:
  - cd docs && make html


deploy:
  provider: pages
  skip_cleanup: true
  keep_history: true
  verbose: true
  on:
    branch: master
    python: 3.8
  github_token: $GITHUB_TOKEN2
  local_dir: docs/_build/html
  project_name: PyRate
  email: insar@ga.gov.au
  name: InSAR Team


cache:
  directories:
    - $GDALINST
    - ~/.cache/pip

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API