ipfs / ci-helpers

Helper scripts for C.I.
6 stars 8 forks source link

Modify Environment on TravisCI #8

Closed Coderlane closed 6 years ago

Coderlane commented 6 years ago

This adds a section to run-standard-tests.sh to configure various environment settings on TravisCI hosts. Currently we'll do the following:

1) On Linux hosts re-enable IPv6 support. 2) On OSX hosts increase the global maximum open file descriptor limit to 8192.

This is the successor to https://github.com/libp2p/go-reuseport/pull/35. I tested the script and another modification on TravisCI and it seems to fix the issues go-reuseport was having on OSX.

Stebalien commented 6 years ago

Awesome! One change: this will need to check TRAVIS_SUDO to see if we have it enabled (we don't enable it on all hosts).

Coderlane commented 6 years ago

Good catch, I've added that check. I also limited the ulimit change to OSX because the Linux runs don't need it.

Stebalien commented 6 years ago

Thanks!