audiohacked / OpenCorsairLink

Linux and Mac OS support for the CorsairLink Devices
GNU General Public License v2.0
706 stars 125 forks source link

Use the Homebrew addon on Travis #204

Closed jonasmalacofilho closed 5 years ago

jonasmalacofilho commented 5 years ago

Proposed changes

With the latest release of libusb on Homebrew, a warning when ensuring it's installed became an error.

  $ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libusb ; fi
- Warning: libusb 1.0.22 is already installed and up-to-date
- To reinstall 1.0.22, run `brew reinstall libusb`
+ Error: libusb 1.0.22 is already installed
+ To upgrade to 1.0.23, run `brew upgrade libusb`.

Instead of manually dealing with this, delegate to Travis.

Types of changes

Checklist