Skip to content

Commit

Permalink
conda messes up python path
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Nov 12, 2019
1 parent 5a53929 commit 71e5a84
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,11 @@ python:
- "2.7.15"
# command to install dependencies

before_install:
- sudo apt-get update
- export PYTHONPATH=$PYTHONPATH:$(pwd)


install:
# install requirements of physcraper
- pip install --force-reinstall numpy==1.14.5
- pip install -r requirements.txt
- pip install configparser
- python setup.py install

before_install:
- sudo apt-get update

install:
### install blast+
# this fails often with connection errors
#- sudo apt-get install ncbi-blast+
Expand Down Expand Up @@ -55,10 +47,20 @@ install:
#- export MPICC=mpiicc

# command to run tests
script:

- wget 'https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz'
- gunzip -cd taxdump.tar.gz | (tar xvf - names.dmp nodes.dmp)
- mv *.dmp taxonomy/


- export PYTHONPATH=$PYTHONPATH:$(pwd)
# install requirements of physcraper
- pip install --force-reinstall numpy==1.14.5
- pip install -r requirements.txt
- pip install configparser
- python setup.py install

script:
- echo 'no' | python tests/testfilesetup.py
#- py.test tests/ --setup-only
#- sh tests/run_tests.sh
Expand Down

0 comments on commit 71e5a84

Please sign in to comment.