Add osx build to travis #17

Merged
jobevers merged 2 commits from build-osx-squash into master 2016-07-14 18:42:09 +02:00
jobevers commented 2016-07-12 22:23:40 +02:00 (Migrated from github.com)

This is a large commit. Travis has some limitations that
the OSX build runs into so a few things needed to change:

  • travis has a 4mb log limit
    • log stdout/stderr to log files
    • cat relevant log file if there is a build issue
  • travis will kill the job if it is silent for ten minutes
    • echo messages every minute
  • travis has a 50 minute job limit
    • add caching for dependencies
    • proactively abort a build after 45 minutes to ensure the
      cache will be populated

Caching creates its own set of problems so the ability to clear the
dependency folder was added and each dependency will delete its folder
if something goes wrong during the build of that dependency. This
prevents future runs from thinking a dependency has been cached when
it actually hasn't.

The build files for OSX and linux were unified into one script.

This is a large commit. Travis has some limitations that the OSX build runs into so a few things needed to change: - travis has a 4mb log limit - log stdout/stderr to log files - cat relevant log file if there is a build issue - travis will kill the job if it is silent for ten minutes - echo messages every minute - travis has a 50 minute job limit - add caching for dependencies - proactively abort a build after 45 minutes to ensure the cache will be populated Caching creates its own set of problems so the ability to clear the dependency folder was added and each dependency will delete its folder if something goes wrong during the build of that dependency. This prevents future runs from thinking a dependency has been cached when it actually hasn't. The build files for OSX and linux were unified into one script.
jobevers commented 2016-07-12 22:24:54 +02:00 (Migrated from github.com)

This is https://github.com/lbryio/lbrycrd/pull/16, but rebased down into one commit with merge conflicts cleaned up. The intermediate commits aren't worth keeping around.

This is https://github.com/lbryio/lbrycrd/pull/16, but rebased down into one commit with merge conflicts cleaned up. The intermediate commits aren't worth keeping around.
jobevers commented 2016-07-14 18:42:02 +02:00 (Migrated from github.com)

LGTM'd by grin in slack.

LGTM'd by grin in slack.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#17
No description provided.