Sfoglia il codice sorgente

Installing NCBI BLAST on Travis CI (#39)

This commit installs NCBI BLAST+ v2.2.30 on Travis CI through the travis.yml. This is in preparation for testing the blast job submission. A huge thanks to @bradfordcondon for the trial-and-error needed to get this done!
Bradford Condon 6 anni fa
parent
commit
91880484bf
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -12,9 +12,12 @@ env:
 
 before_script:
   - docker pull statonlab/tripal3
-
+  - wget ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-x64-linux.tar.gz
+  - tar xzf ncbi-blast-2.2.30+-x64-linux.tar.gz
 script:
   - docker run -it -d --rm --name tripal -v "$(pwd)":/modules/tripal_blast statonlab/tripal3
   - sleep 30 # We pause here so postgres and apache complete booting up
+ #install blast
+  - docker exec -it tripal bash -c "cp /modules/tripal_blast/ncbi-blast-2.2.30+/bin/* /usr/local/bin"
   - docker exec -it tripal drush pm-enable -y blast_ui
   - docker exec -it tripal bash -c "cd /modules/tripal_blast && composer install && DRUPAL_ROOT=/var/www/html ./vendor/bin/phpunit"