SNL-WaterPower / WecOptTool-MATLAB

WEC Design Optimization Toolbox
GNU General Public License v3.0
12 stars 9 forks source link

Using TravisCI for testing #199

Closed H0R5E closed 3 years ago

H0R5E commented 3 years ago

It looks like TravisCI and CircleCI now both support MATLAB continuous integration. I am going to try and get this working for a copy of WecOptTool on my account and I will report the results here.

H0R5E commented 3 years ago

OK, so I have it up and running on H0R5E/WecOptTool-Test with the build being successful on the master branch. I then have a PR where I have broken the code to check that Travis responds.

Couple of notes on this:

  1. It's a bit slow - it's taking about 10 mins to build and test
  2. It doesn't seem to be able to run in parallel even though the parallel toolbox is available and there are 2 cores.
  3. It only works on linux (for now)

In general, though, I would say this is a good thing to have given it doesn't cost us anything. We can also stop worrying about the Jenkins server on the Sandia network.

Let me know if you want to put it into WecOptTool and I will port the changes over.

ryancoe commented 3 years ago

Sounds good. Please proceed.

H0R5E commented 3 years ago

Done with 05d7705f0d2685dfe3d2ea6da240660dd2935943 and 396b16610c134ec6e657314bbb8b69dfc18ff600.