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

2 commits

Author SHA1 Message Date
Job Evers-Meltzer
fa2b8b6eff download dependencies from lbrycrd-dependencies repo 2016-07-14 11:41:21 -05:00
Job Evers-Meltzer
5b113e524c Add osx build to travis
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.
2016-07-14 11:41:21 -05:00