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 1c570679f6844a5e6d7c4d36c4ac3bc11347eb94 authored by Vladislav Kamenev on 26 October 2018, 09:43:33 UTC, committed by Vladislav Kamenev on 26 October 2018, 11:35:45 UTC
Travis fortran workaround
1 parent 5532378
  • Files
  • Changes
  • 550441f
  • /
  • .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:1c570679f6844a5e6d7c4d36c4ac3bc11347eb94
directory badge
swh:1:dir:550441fb311951acc56ee999a9ba746653daf643
content badge
swh:1:cnt:f4098d81fb009f7d5c3141b2331416f7e48bc8e8

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: r
r:
    #- bioc-devel
  - bioc-release
# warnings_are_errors: true
sudo: false
fortran: false
cache: packages

services:
  - docker

addons:
  apt:
    packages:
      - libprotobuf-dev
      - libapparmor-dev
      - protobuf-compiler
      - libcurl4-openssl-dev

r_packages:
  - covr
  - data.table
  - ggplot2
  - testthat
  - knitr
  - rmarkdown
  - httpuv
  - opencpu
  - protolite
  - Rook

os:
  - linux
  - osx

bioc_required: true
bioc_packages:
  - BiocCheck
  - GEOquery
  - limma
  - rhdf5
  - BiocStyle

before_install:
  - if [ ${TRAVIS_OS_NAME} = 'osx' ]; then brew unlink python; brew install protobuf; fi
  - R -e 'install.packages("devtools")'
  - R -e 'source("https://bioconductor.org/biocLite.R"); biocLite()'

script:
  - R CMD build .
  - FILE=$(ls -1t *.tar.gz | head -n 1)
  - R CMD check "$FILE"
  - bash inst/test_js.sh

after_script:
  - FILE=$(ls -1t *.tar.gz | head -n 1)
  - Rscript -e "library(BiocCheck); BiocCheck(\"${FILE}\")"

after_success:
  - Rscript -e 'covr::codecov()'
  - DOCKER_TAG="$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER"
  - if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
    docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker build -t dzenkova/phantasus --build-arg PHANTASUS_BUILD=$DOCKER_TAG inst/docker/ ;
    docker tag dzenkova/phantasus dzenkova/phantasus:$DOCKER_TAG ;
    docker push dzenkova/phantasus;
    fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TRAVIS_BRANCH" == "develop" ]; then
    docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
    docker build --build-arg TARGET_BRANCH=develop --build-arg PHANTASUS_BUILD=$DOCKER_TAG -t dzenkova/phantasus:develop inst/docker/ ;
    docker tag dzenkova/phantasus:develop dzenkova/phantasus:$DOCKER_TAG ;
    docker push dzenkova/phantasus:develop;
    docker push dzenkova/phantasus:$DOCKER_TAG;
    fi

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