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

https://github.com/GeoscienceAustralia/PyRate
09 August 2023, 08:52:18 UTC
  • Code
  • Branches (23)
  • Releases (1)
  • Visits
Revision 0428dba9e2b3d4b6807f8c62d55c161c0dd4d75a authored by Jonathan Mettes on 06 November 2020, 01:03:05 UTC, committed by Jonathan Mettes on 06 November 2020, 02:59:47 UTC
Add system test data
1 parent eb4a444
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/CI-patch
    • refs/heads/data
    • refs/heads/dependabot/pip/joblib-1.2.0
    • refs/heads/dependabot/pip/numpy-1.22.0
    • refs/heads/dependabot/pip/scipy-1.10.0
    • refs/heads/develop
    • refs/heads/gh-pages
    • refs/heads/master
    • refs/heads/mg/actions
    • refs/heads/sb/largetifs-enhancements
    • refs/heads/sb/orbfit-independent-method
    • refs/heads/sb/orbital-correction-experiements
    • refs/heads/sb/phase-closure-correction
    • refs/heads/sb/upgrade-ci-ubuntu
    • refs/heads/sb/use-mpi-shared
    • refs/tags/0.3.0
    • refs/tags/0.4.0
    • refs/tags/0.4.1
    • refs/tags/0.4.2
    • refs/tags/0.4.3
    • refs/tags/0.5.0
    • refs/tags/0.6.0
    • refs/tags/0.6.1
    • 0428dba9e2b3d4b6807f8c62d55c161c0dd4d75a
    • 0.2.0
  • fcb5121
  • /
  • .travis.yml
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:0428dba9e2b3d4b6807f8c62d55c161c0dd4d75a
origin badgedirectory badge
swh:1:dir:fcb5121e280355e8eb975820a13e9558c9226d62
origin badgecontent badge
swh:1:cnt:92415c36d7cb52296e804c2ac981e6a968b9f6a1
origin badgesnapshot badge
swh:1:snp:e85aafb5fc900c1df2eebb773a8b8e11798084c1

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.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 0428dba9e2b3d4b6807f8c62d55c161c0dd4d75a authored by Jonathan Mettes on 06 November 2020, 01:03:05 UTC
Add system test data
Tip revision: 0428dba
.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
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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