/ci-helpers

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

CI-helpers

Inspired by the astropy's ci-helpers package. This repository provides a set of scripts to build certain dependencies needed on CI platforms like Travis.

How to use

Travis

Basic use requires to add the following lines to your .travis.yml file:

install:
  - git clone --depth 1 git://github.com/UCL-RSDG/ci-helpers.git
  - source ci-helpers/travis/setup.sh

If you want to take advantage of caching what this installs, then you would also need to add such information on your .travis.yml file:

cache:
  directories:
    - $HOME/ci-helpers/spack
    - $HOME/ci-helpers/openmpi
    - $HOME/ci-helpers/mpich

You don't need all these caches, only the ones you are going to use, but if you want to have builds with openmpi and others with mpich, then you want to have these caches separated so you don't overwrite them on different runs.