sandialabs / CACTUS

CACTUS (Code for Axial and Cross-flow TUrbine Simulation) is a turbine performance simulation code, based on a free wake vortex method, to study wind turbines and marine hydrokinetic (MHK) devices.
BSD 3-Clause "New" or "Revised" License
18 stars 12 forks source link

Add simple travis configuration #16

Closed whophil closed 4 years ago

whophil commented 4 years ago

Build the code on Linux and MacOS, run bin/cactus with no arguments, and then run the regression test.

Could add Windows builds, coverage, etc. in the future but this is a start.

Addresses #2

petebachant commented 4 years ago

Might be a good idea to put the regression tests in the Python script into separate functions and run them with pytest for more instructive output, but that could be future work.

whophil commented 4 years ago

This is all pytest'd out now. I also dropped the Python 2 regression test script.

kmruehl commented 4 years ago

@whophil Thank you! I was waiting to see that the tests passed, which they have, so I'm going to go ahead and accept this PR. I'll close close issue #2