Makefile: What is "TRAVIS"?

Posted on
  • In the Makefile for the project, there is a definition check for something called "TRAVIS". If it is NOT defined, we run a script to check that the binary will fit in flash. My question is ... what is "TRAVIS" and what is the intent here?

    Neil

  • Just google it, it's https://travis-ci.org/

    It tests each commit to see if it breaks anything. However I was having issues where I'd commit something, and with some compilers the binary would be too big to fit in flash memory, and the build would fail. The TRAVIS define just removes that check, so whether a build fails depends on whether the code itself compiles or not.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Makefile: What is "TRAVIS"?

Posted by Avatar for Kolban @Kolban

Actions