Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 932 Bytes
# https://travis-ci.org/tgbugs/pyontutils
sudo: false
language: python
branches:
only:
- dev
- master
git:
depth: 3
python:
- 3.6
before_install:
- mkdir build
- pushd build
- wget https://raw.githubusercontent.com/tgbugs/pyontutils/master/scigraph/nifstd_curie_map.yaml
- wget https://raw.githubusercontent.com/tgbugs/pyontutils/master/scigraph/graphload.yaml.template
- popd
install:
- pip install pyontutils
script:
#- pipenv run ipython -c "__import__('pyontutils.config').config.bootstrap_config()"
- git checkout ${TRAVIS_BRANCH} # ontload doesn't currently work if git is in detached head mode
- ontload graph NIF-Ontology NIF -z "${TRAVIS_BUILD_DIR}/build" -l "${TRAVIS_BUILD_DIR}/../" -O SciGraph -B master -b ${TRAVIS_BRANCH} -t "${TRAVIS_BUILD_DIR}/build/graphload.yaml" -u "${TRAVIS_BUILD_DIR}/build/nifstd_curie_map.yaml"
after_success:
- echo "scp the artifacts somewhere"