Homebrew formulae repo for OCLint packages.
$ brew tap oclint/formulae
$ brew install oclint
And can be simplified to
$ brew install oclint/formulae/oclint
To update the brew package, use brew update first:
$ brew update
$ brew upgrade oclint
According to Travis CI OS X image bootstrap script, OCLint version will be fixed to the time that particular image is generated. Travis CI support confirmed that it usually be the same day as Apple releases a new version of Xcode. So the OCLint version included in the Travis CI image should be updated or recent.
When OCLint has updates between two Xcode releases, Travis CI may or may not generate a new OS X image with the up-to-date OCLint version. When that happens, please add the followings to your before_install
configurations (unverified, provided by Travis CI support):
before_install:
- brew update
- brew unlink brew-cask && brew install caskroom/cask/brew-cask
- brew cask install oclint
Or from this tap, as in this example:
before_install:
- brew cask uninstall oclint
- brew tap oclint/formulae
- brew install oclint