Skip to content

Commit

Permalink
adding travis job: this may fail due to memory requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Nov 27, 2015
1 parent 3205f5d commit 2882dfa
Show file tree
Hide file tree
Showing 6 changed files with 450,388 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: java
jdk:
- openjdk7

before_script:
- mkdir -p bin
- export PATH=$PATH:$PWD/bin
- wget http://build.berkeleybop.org/userContent/owltools/owltools -O bin/owltools
- wget http://build.berkeleybop.org/userContent/owltools/ncbi2owl -O bin/ncbi2owl
- wget http://build.berkeleybop.org/userContent/owltools/ontology-release-runner -O bin/ontology-release-runner
- wget http://build.berkeleybop.org/userContent/owltools/owltools-runner-all.jar -O bin/owltools-runner-all.jar
- wget http://build.berkeleybop.org/userContent/owltools/owltools-oort-all.jar -O bin/owltools-oort-all.jar
- chmod +x bin/*

# command to run tests
script: make test

#after_success:
# coveralls

# whitelist
branches:
only:
- master

notifications:
email:
- cjmungall@lbl.gov

2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ all: ncbitaxon.obo
NCBI_MEMORY=8G
OORT_MEMORY=$(NCBI_MEMORY)

test: all

taxonomy.dat:
wget ftp://ftp.ebi.ac.uk/pub/databases/taxonomy/$@ -O $@.tmp && mv $@.tmp $@

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![DOI](https://zenodo.org/badge/13996/cmungall/ncbitaxon.svg)](https://zenodo.org/badge/latestdoi/13996/cmungall/ncbitaxon)

[![Build Status](https://travis-ci.org/cmungall/ncbitaxon.svg?branch=master)](https://travis-ci.org/cmungall/ncbitaxon)

# Build for NCBITaxon Ontology

The NCBITaxon ontology is an automatic translation of the [NCBI taxonomy database](http://www.ncbi.nlm.nih.gov/taxonomy) into obo/owl.
Expand Down
8 changes: 8 additions & 0 deletions mappings/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
env_eol_mapping_to_taxonomies.tar.gz:
wget http://environments.jensenlab.org/$@ -O $@

mappings_eolids_ncbitaxids.tsv: env_eol_mapping_to_taxonomies.tar.gz
tar -zxvf $< && touch $@

ncbitaxon-to-eol.obo: mappings_eolids_ncbitaxids.tsv
./eolmap2obo.pl $< > $@
Loading

0 comments on commit 2882dfa

Please sign in to comment.