gcivil-nyu-org / spring2020-cs-gy-9223-class

2 stars 14 forks source link

Add support for macOS (osx) in Travis CI #645

Closed jackxujh closed 4 years ago

jackxujh commented 4 years ago

Title

Add support for osx in Travis CI. Closes #646.

Description

Improve testing with the new test plan with travis's macOS worker.

Now there are three test plans:

The new Travis configuration in this PR does not use Travis's build matrix, because the above test plans differ very much. After moving the onboard software to its dedicated repo, attempts to modify the test plan to use build matrix could be made.

The macOS environment on Travis takes longer to boot and initialize. Therefore, CI build time now finishes about 6-7 minutes, which was 3-4 minutes from before. However, since the changes is mostly due to pre-testing, the duration difference between Linux and macOS test plans should remain relatively stable (~3 minutes) with future and new tests.

About the coverage drop: it is unclear from Coveralls report. However, this PR does not remove tests, introduce large code bodies, nor making any existing lines not covered in tests.

Types of Changes

Put an x in the boxes that apply

Checklist