berkeley-stat159 / project-beta

BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

fix the path problem & improve the structure #83

Closed YCBear closed 8 years ago

YCBear commented 8 years ago

@jarrodmillman @matthew-brett @rossbar Hi guys, I have this problem where I have nosetests of testing file totally running on my computer, but it fails the TravisCI checks here. Can you please take a look and maybe give me some hints about how to solve the issue?

matthew-brett commented 8 years ago

It looks like 'scenes' is not on the the Python PATH. You could try setting the PYTHONPATH variable with something like:

export PYTHONPATH=$PWD/code/utils

in your travis.yml file, before running nosetests.

YCBear commented 8 years ago

@matthew-brett Hi Matt, thanks for replying. So we did change to .travis.yml script:

matthew-brett commented 8 years ago

Right - you have to run that command before you run the code doing import scenes.

YCBear commented 8 years ago

@matthew-brett Hi Matt, thank you so much for helping, we finally fix the issue. Have a good night!