haskell-socket icon indicating copy to clipboard operation
haskell-socket copied to clipboard

Run Travis tests on Mac OS too

Open VyacheslavHashov opened this issue 8 years ago • 6 comments

VyacheslavHashov avatar Jan 07 '17 06:01 VyacheslavHashov

In .travis.yaml

os:
  - linux
  - osx

VyacheslavHashov avatar Feb 25 '17 14:02 VyacheslavHashov

This is is bigger task. The whole environment setup is heavily platform dependant (apt-get etc).

lpeterse avatar Feb 26 '17 23:02 lpeterse

Is it feasible to run tests with stack? I can write necessary Travis config.

VyacheslavHashov avatar Feb 26 '17 23:02 VyacheslavHashov

Switching to stack would be better anyway, I guess. If you already have a working Travis config at hand that can be adapted, that would be nice. We just need to remember to include the network specific additions (turning on IPv6 etc).

lpeterse avatar Feb 26 '17 23:02 lpeterse

I have found that Travis does not allow ipv6 on OS X containers at all.

VyacheslavHashov avatar Feb 27 '17 01:02 VyacheslavHashov

I think it might be a solution to split out the IPv6 parts from the test suite and not run them on OSX. IPv6 is probably not essential for most of the tests. I just mixed it in here and there to have it covered. I need to think about this a little. Other solutions are always welcome.

lpeterse avatar Feb 27 '17 18:02 lpeterse