ios-scripts icon indicating copy to clipboard operation
ios-scripts copied to clipboard

Add pre-push hook to lint .travis.yml file.

Open guidomb opened this issue 10 years ago • 1 comments

If there is a .travis.yml file and the travis gem is available with you lint the .travis.yml before pushing.

Also after bundler install all the required gems we you check if the travis gem was installed. If not install it. If there is no Gemfile or bundler is not available we you tell the user to install the travis command line if there is a .travis.yml file.

guidomb avatar Aug 01 '15 19:08 guidomb

The problem with this is that travis lint currently does not differentiate between errors and warnings and in the case of iOS the suggested .travis.yml file has warnings.

guidomb avatar Nov 30 '15 14:11 guidomb