Why is my module failing to import?

here is my .travis.yml

language: python
python:
  - "2.7"
install: "pip install -r requirements.txt --use-mirrors"
script: "nosetests -w tests/"

Hi @howtotalktogirls,

Travis doesn’t do an implicit develop when installing the target package. You can fix this by editing the script line in your .travis.yml file to:

script:  "python setup.py develop && nosetests -w tests/"

That should do it for you.

1 Like

thanks this worked

Hi @howtotalktogirls,

Glad to hear it.

1 Like