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 526e7d5e0754b7d6558e200509069e5958fa8bb5 authored by Jean Kossaifi on 07 December 2020, 14:12:51 UTC, committed by Jean Kossaifi on 07 December 2020, 14:12:51 UTC
TensorFlow fix
1 parent 75ddd76
  • Files
  • Changes
  • 922a71e
  • /
  • .travis.yml
Raw File Download
Permalinks

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:526e7d5e0754b7d6558e200509069e5958fa8bb5
directory badge Iframe embedding
swh:1:dir:922a71e0bb3a665ebcd645c9f68f26616711f3ea
content badge Iframe embedding
swh:1:cnt:19aa53f84296bb849f58564ad7da7fb5d5998a68
Citations

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
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 ...
.travis.yml
language: python
matrix:
    include:
     - os: linux
       python: 3.8
       env: BACKEND=mxnet
     - os: linux
       python: 3.8
       env: BACKEND=jax
     - os: linux
       python: 3.8
       env: BACKEND=pytorch
     - os: linux
       python: 3.8
       env: BACKEND=tensorflow
     - os: linux
       python: 3.8
       env: BACKEND=numpy DEPLOY_DOCS=1 DEPLOY_PYPI=1
       addons:
         apt:
           packages:
           - texlive
           - texlive-latex-extra
           - dvipng

install: 
    # Install miniconda
    - deactivate
    - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - hash -r
    - conda config --set always_yes yes --set changeps1 no
    - conda update -q conda
    # Useful for debugging any issues with conda
    - conda info -a
    # Create and activate a test-environment with numpy and scipy
    - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy
    - source activate test-environment
    - pip install coveralls pytest pytest-cov nose
    # For NumPy: install sparse for contrib.sparse tests
    # For MXNet, additionnal dependencies are required
    # For PyTorch, install the cpu version and torchvision
    - if [[ "$BACKEND" == "numpy" ]]; then
        pip install sparse;
      elif [[ "$BACKEND" == "pytorch" ]]; then
        conda install pytorch cpuonly -c pytorch;
      elif [[ "$BACKEND" == "tensorflow" ]]; then
        conda install tensorflow;
      elif [[ "$BACKEND" == "mxnet" ]]; then
        pip install mxnet;
      elif [[ "$BACKEND" == "jax" ]]; then
        pip install jax jaxlib;
      fi
    - pip install -e .

script:
- travis_wait make BACKEND=$BACKEND test-coverage

after_success:
- coveralls
- bash deploy_docs.sh

deploy:
  provider: pypi
  user: JeanKossaifi
  password:
    secure: EwSQv5dDX0EKruPBxJ2rqM/SjqLgok8VTPAtAZkbxPRhq/nJdBtkuIJGiErAoGzX5UXCQRkj67oHHlGcMjEKHVu27h0iFSMpxqVYPJ4zYXIhrMEJH2IqUrIlFs9QjaXOJap4N0Pb+4UkVvf6TeLhvlH3OBvW+IOnyhEH2ijZlFUQHyZuihrYXpesskIuvhEZ1letaV4SaAtkKeGEM3A3ZxawklNSPjB/55nKXBDhGqRET0ynqwbSxmUUXExoe+9m0L2zksVR3uX8BM7GKAFYO1IDRIB6U/51sTVyOi1quJmBFMb5B0ROs4eTJR2iFrXL1/GQrFFNUxiwAhY0Y3by+CU8rVMJTE5sQHy1dcXxDYIydAipCCSNi7Jj8EazRUe7ZS2XfCGwiNVASha0fW243Z6UVY5vLrHdQiHPVf/pNOb8aLqBoPd97BqPT6KHEidGBx/PnMNBAj/sYNZbM6Xo7xtdOhcALAb16Jz3hkE2M0ao0q1dT2DTKm51VFZVficv7BXxAuX72t79IVFxazHK5EVN0ZyVeOl54+gMhTMq5Cx6AZ6opmaImAoGgN7t/+adpyRrczwoKlM+CQeShf3vVy8V+eElTy1EqOTxiRrJ9noVF9nVEfpiQI25WcNLciMjnG/HUvGsNzPXSQ32yW4fZvegWJUea9XzHQtVYsgGWg0=
  on:
    tags: true
    branch: master
    condition: $DEPLOY_PYPI == 1
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 ...

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— Contact— JavaScript license information— Web API

back to top