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

  • 4bbf3d6
  • /
  • .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 Iframe embedding
swh:1:cnt:db511f6555f659e7c99d56bfb9d7cb1f03b5ad83
directory badge Iframe embedding
swh:1:dir:4bbf3d6a2e8a2fcad70c22b6685ff5554eae4937

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
.travis.yml
branches:
  only:
  - develop
  - /^release-.*$/
  - /.*-travis$/
  - master

language: python

python: 3.6

os: linux

dist: bionic # Ubuntu 18.04

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
  
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:
  - pytest --cov-report term-missing:skip-covered --cov=pyrate tests/

# cache:
#   - apt
#   - pip
#   - $HOME/.cache/pip

back to top

Software Heritage — Copyright (C) 2015–2025, 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