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

Revision 313483f9b0e2c3dbe994555b6405b86731f76ee7 authored by Sudipta Basak on 28 July 2020, 07:24:53 UTC, committed by Sudipta Basak on 28 July 2020, 07:24:53 UTC
run a couple of system tests in all envs
1 parent 1a99ccc
  • Files
  • Changes
  • 40026b5
  • /
  • .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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:313483f9b0e2c3dbe994555b6405b86731f76ee7
directory badge
swh:1:dir:40026b5fcb1de7468e011235b67a380f30ee1bcb
content badge
swh:1:cnt:774484b2d01ecac5a0ec2e7d77ca4b729222df35

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
(requires biblatex-software package)
Generating citation ...
(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:
  - 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