Closed alexpantyukhin closed 6 years ago
Refer to #20. You'll have to run it by me, how exactly does Travis work? I've heard about it here and there, does it test the code against multiple compilers or something?
Actually I'm not much experienced there :) But I found an example: https://github.com/LibreSprite/LibreSprite/blob/master/.travis.yml Maybe possbile exclude "test" and keep just "make".
Travis is pretty simple it just runs specified script on provided VM after each commit/PR and checks that it succeds (returns 0) otherwise it sends you an e-mail or blocks PR from being merged.
And yes it can test several compilers/platforms but for windows compilers you have to use the alternative called AppVeyor.
With Travis CI we can run tests, builds with multiple environments (compilers), Linux and OSX and we can do code deployments. I created simple setup: #34
For more, please see Travis config for my repo (PHP): https://travis-ci.org/Saibamen/HotelManager
Closing this as of #34, we can track progress of AppVeyor in #20.
I guess it could be useful to add travis for checking at least compiling of the project.