Trying to get some tests working on @travisci... anybody know what I am doing wrong? https://travis-ci.org/lovelabUCL/dimensionality …
I assume it's in the bloody Makefile, right?
https://github.com/lovelabUCL/dimensionality/blob/master/Makefile …
-
Show this thread
-
I think setting PYTHONPATH only affects imports, not how the python *executable* finds the script it should execute. So I think tests/test.py cannot be found from the current working directory.
2 replies 0 retweets 1 like -
Replying to @lucasvandijk @travisci
Ah, hmm. I need to call it from that directory for the tests to work though... Where do I ask travis to cd to that directory?
1 reply 0 retweets 0 likes -
You can just issue an `cd` command before running the tests
1 reply 0 retweets 1 like -
(in your .travis.yml file, under script, add another item with the `cd` command, before the `make test` entry).
1 reply 0 retweets 0 likes -
Wait, but then the makefile isn't present anymore. Maybe adjust the test target in the Makefile then?
1 reply 0 retweets 0 likes -
Replying to @lucasvandijk @travisci
We both thought of cd at the same time and we're right!
1 reply 0 retweets 0 likes
CD in the Makefile, just to be clear.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.