Vítor Galvão
f89b731e1c
travis: remove El Capitan support ( #31916 )
2017-04-05 18:34:14 +01:00
Vítor Galvão
df824cf6d7
travis: mark workarounds for removal after ElCap is no longer needed ( #31911 )
2017-04-05 13:24:19 +01:00
Vítor Galvão
e5aa0b9571
travis: rvm stable now suffices ( #31908 )
2017-04-05 12:27:38 +01:00
Vítor Galvão
1fbc1299fc
fix travis hangups on ElCap
2017-04-04 21:41:19 +01:00
Vítor Galvão
7ccc4b8964
travis: unlink gnupg before installing gpg2 ( #31806 )
2017-04-03 15:36:52 +01:00
Vítor Galvão
7e9dfdf166
Travis: Add Sierra support ( #28732 )
...
* .travis.yml: xcode8 to xcode8.2 (Sierra)
* Updated Travis workarounds for Sierra/RVM
2017-01-07 20:07:49 +00:00
Vítor Galvão
052cfd997c
travis: fail if any cask files added outside Casks dir ( #28635 )
2017-01-06 02:58:14 +00:00
Josh Hagins
65ce9c6fe4
Revert "travis: fail if any cask files added outside Casks dir" ( #26854 )
2016-11-17 09:04:15 -05:00
Josh Hagins
8115771bb0
travis: fail if any cask files added outside Casks dir ( #26819 )
2016-11-16 16:48:27 +01:00
Markus Reiter
ee038351cc
Revert #26026 . ( #26536 )
2016-11-07 02:28:26 +01:00
Josh Hagins
b8d9b47385
travis: make sure brew is on master branch
2016-10-29 11:27:29 -04:00
Aditya Dalal
96f6c9abf6
Travis: Simplify before_script ( #26035 )
2016-10-22 20:57:14 -04:00
Markus Reiter
2f4984122a
Use system's `Current` version of `ruby` and `gem`. ( #26031 )
2016-10-22 22:48:15 +02:00
Markus Reiter
7df9e9c8b1
Workaround for TRAVIS_COMMIT_RANGE is not needed anymore. ( #26026 )
2016-10-22 15:29:45 -04:00
Josh Hagins
8eea303cab
travis: notify if no casks modified
2016-10-19 11:04:38 -04:00
Josh Hagins
53c1bf7d7c
travis: fix CASK_TAP_DIR location ( #25510 )
2016-10-15 09:24:46 +02:00
Vítor Galvão
d7b4ae8825
script.sh: remove extraneous line
2016-09-08 13:10:59 +01:00
Josh Hagins
52a8b15b5a
Remove unnecessary Travis scripts ( #23922 )
...
These scripts are useless now that the core has been merged
into Homebrew (#23852 ).
2016-08-19 14:46:19 -04:00
Anastasia Sulyagina
0ec06e9a95
Cask core code moved to Homebrew ( #23852 )
2016-08-19 16:53:18 +02:00
Joshua Hagins
25ca2eb7c9
brew-cask-tests: specify test suite to run with flag ( #23484 )
2016-08-05 20:26:48 -04:00
Mike McQuaid
9cb7617a6f
Remove more Homebrew-duplicated code. ( #23359 )
2016-08-02 15:25:36 -04:00
Markus Reiter
16c6b8987b
Fix and refactor recognition of container types. ( #22857 )
...
* Fix and refactor recognition of container types.
* Use retry instead of redundant code when ejecting DMGs.
* Use BOM file for extracting DMGs.
* Add `lzma` compression.
2016-07-19 23:30:15 -04:00
Markus Reiter
ad7a299c94
Use TRAVIS_REPO_SLUG instead of hard-coded path. ( #22847 )
2016-07-16 21:22:04 -04:00
Josh Hagins
a9a0cb27a1
Make audit_modified_casks an internal cmd ( #22826 )
2016-07-15 13:09:10 -04:00
Josh Hagins
9ac460b3b4
travis: update rvm to head before running ( #22774 )
...
* travis: update rvm to head before running
See https://github.com/rvm/rvm/pull/3627
* Don't set nounset in Travis scripts
It hasn't helped so far, and it's causing headaches with Travis' own
scripts. Not worth it.
2016-07-14 18:16:10 -04:00
Markus Reiter
11eedac599
Core Code Cleanup
2016-07-05 02:29:10 -04:00
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