Vítor Galvão
845d9946df
travis: OS X > macOS
2016-06-13 21:17:46 +01:00
Josh Hagins
e51f6f0f1a
travis: if merge base is older than 50 commits, unshallow the repo ( #21472 )
2016-05-26 15:44:16 -04:00
Aditya Dalal
3445d92f1b
Revert "before_install: install bundler" ( #21118 )
2016-05-11 08:12:05 -04:00
Aditya Dalal
4c34aa88ec
before_install: install bundler ( #20971 )
...
Force install bundler
2016-05-04 09:17:37 -04:00
Josh Hagins
f57ef580f8
Run brew update in before_install
...
In older versions of Homebrew, such as the one pre-installed on the
Travis OSX 10.9 image, `brew update` will not checkout the previously
checked-out commit in a tap after pulling the latest master.
2016-01-16 18:19:46 -05:00
Josh Hagins
b9b1a7f807
Add `style` subcommand to run RuboCop against args
2016-01-16 18:19:31 -05:00
Josh Hagins
71e2400442
audit_modified_casks: exclude non-ruby files in Casks
2016-01-16 18:19:31 -05:00
Josh Hagins
041f700caf
Filter out deleted casks
2016-01-08 09:12:56 -05:00
Josh Hagins
8aebfef7d7
Further Travis optimizations
2016-01-08 09:05:31 -05:00
Josh Hagins
7418d976da
Run RuboCop outside of rake
...
Should fix the currently broken Travis builds.
2016-01-08 08:21:30 -05:00
Josh Hagins
0486c1baa1
Travis: skip test suite if only casks are modified
2016-01-08 05:34:21 -05:00
Josh Hagins
a76c4cd568
Properly set TRAVIS_COMMIT_RANGE using git merge-base
2016-01-07 03:52:43 -05:00
Josh Hagins
d03dcfd322
Print all env vars defined by Travis
2016-01-07 03:50:27 -05:00
Josh Hagins
fbcbeb5a2a
Travis: use `eval` in `run` so we can log piped commands
2016-01-07 03:49:35 -05:00
Josh Hagins
f671f30920
Travis: run audit and style check before tests
...
Audit and RuboCop are more likely to fail, and finish more quickly than
the test suite.
2016-01-06 13:28:32 -05:00
Josh Hagins
0bdaa4a906
Allow coveralls:push rake task to fail
2016-01-04 17:47:02 -05:00
Josh Hagins
0c548100fd
Reorganize rake testing tasks
...
* Move 'rspec' and 'minitest' tasks under the 'test' namespace
* Create separate 'coverage' task for generating coverage reports
from tests
2016-01-04 16:59:13 -05:00
Josh Hagins
23c2e092a5
Merge pull request #16263 from jawshooah/travis-brew-install
...
Travis: add helpers for brew install and upgrade
2016-01-01 17:36:30 -05:00
Josh Hagins
eed0b4cc2d
Allow brew-upgrade to fail, we don't need it
2015-12-31 20:33:36 -05:00
Josh Hagins
7facf8f73a
Use first parent of last commit as diff base if no PR
2015-12-31 19:05:01 -05:00
Josh Hagins
e2f7b31ae8
Travis: add helpers for brew install and upgrade
2015-12-31 18:44:47 -05:00
Josh Hagins
71e3cdd201
Pass TRAVIS_BRANCH tip rev explicitly to audit_modified_casks
2015-12-31 18:44:26 -05:00
Josh Hagins
93873eeb76
Only audit cask changes if testing a PR
2015-12-31 03:23:11 -05:00
Josh Hagins
54ee86afa0
Extract travis build logic into scripts
2015-12-31 02:54:22 -05:00