Closed simonmarchant closed 4 years ago
Our unit tests are passing fine normally but when run on travis they can't find the mmt file. The filepath is relative so it seems like the travis VM is running unittest fro a different directory or something. Does anyone have any ideas for us? @Rebecca-Rumney @DavAug
@MichaelClerx we're having problems with the Travis builds failing to set-up myokit, could you give us a pointer please?
Commit 09adc71 failed Travis tests and we think it was because Travis couldn't find CVODE (full output: https://travis-ci.org/SABS-R3-projects/PKPD/jobs/624178227 ) which looks like it comes from sundials, so we tried to add libsundials-dev to the requirements in the setup.py (commit c9029d9) but pip can't find libsundials-dev. We've been banging our heads against a wall for ages and this seems like something that you might know off the top of your head, so: any ideas?
pip
can only do python packages, you need to use apt-get to install sundials. I do it like this:
https://github.com/MichaelClerx/myokit/blob/master/.travis.yml#L72
pip
can only do python packages, you need to use apt-get to install sundials. I do it like this:https://github.com/MichaelClerx/myokit/blob/master/.travis.yml#L72
Thankyou very much @MichaelClerx I feel like an ~idiot~ academic now ~:confused:~ :man_student:
Fixed that for you :D
Added model functionality and tests.