tholoien / empiriciSN

Generate realistic parameters for a SN given host galaxy observations based on empirical correlations from SN datasets
MIT License
2 stars 4 forks source link

Setup unit testing and Travis CI #17

Closed tholoien closed 8 years ago

tholoien commented 8 years ago

This will be useful for making sure the code is working and so other people can download and use it.

tholoien commented 8 years ago

This is setup, but Travis needs to be able to install the XDGMM to work. Does anyone have an example of this functionality?

drphilmarshall commented 8 years ago

My starting point would be to add the following line to the end of the requirements.txt file:

git+git://github.com/tholoien/XDGMM.git#egg=xdgmm

I learned this while working with Milan on SLTimer, which requires PyCS

tholoien commented 8 years ago

Got it working. Just had to add the equivalent line for xdgmm to the .travis.yml and make sure the XDGMM dependencies were installed first.

Unit testing is up and running and the build is passing.

drphilmarshall commented 8 years ago

Rock. On.