Closed AnthonyBrunasso closed 6 years ago
Is this dependent on #15?
There's some challenges running the tests because the sc2 binary has to be run. I haven't used Travis much before so I'll need to research if that's even something possible.
A good first step is just making sure everything builds on our desired platforms for each commit.
And thank you for reminding me about that task. I need to get that done.
It may be a good idea to add an after_success
hook which builds the documentation and pushes it to GitHub Pages so users can browse it online instead of building locally. I do something similar for most of my projects.
@Michael-F-Bryan I like this idea. I'll have to check on the status of our travis work on Monday.
I created initial version of Travis config which works for Linux builds, see #187. Probably OS X support will be introduced later.
From my point of view the real problem of Travis is outdated build environment (here we choose between Ubuntu Trusty (14.04) and some even older version (12.04 ?)). That cause a lot of problems for modern C++ (that could be clearly seen in the pull-request). So I am not sure that tests and SC2 can be used inside a Travis Virtual Machine without additional magic.
I implemented os x support too. Feel free to reuse the code: https://github.com/alkurbatov/suvorov-bot/blob/master/.travis.yml
@AnthonyBrunasso Travis build now exists.
Soon.