Commit Graph

62 Commits (57ab97473786b947e6f60f7fa787e65295d5b96d)

Author SHA1 Message Date
Christian Mehlmauer 384f079fcd
revert travis.yml for now 2016-04-01 16:07:07 +02:00
Christian Mehlmauer 9fc7921a31
bump ruby version 2016-03-31 23:40:15 +02:00
darkbushido 204138c7c1
changing this to postgres 9.3
re-ordering stuff in .travis.yml
2016-03-07 13:25:37 -06:00
darkbushido 6bee4e759b
trying to add the postgres service to travis.yml 2016-03-02 16:21:51 -06:00
darkbushido bc2e38067e
changing the travis.yml to work with GCE 2016-03-02 15:57:53 -06:00
Adam Cammack 25a4e4b225
Update Travis to Ruby 2.1.8 2016-02-03 18:28:49 -06:00
Chris Doughty 8090bbc750 Changes to support framework as a gem 2015-12-30 11:00:45 -06:00
Fernando Arias 1a781729d1
Bump ruby to 2.1.7
MSP-13364
2015-10-02 13:06:54 -05:00
Brent Cook 408edda4de add libpcap-dev to our travis dependencies 2015-09-04 17:24:49 -05:00
Brent Cook 00b8dbfe9b restrict git diff filter to something travis can expand 2015-05-29 11:34:25 -05:00
Brent Cook 635a37681d skip checking for deltas in Gemfile.lock with bundler 1.10.x
thanks to @firefart for the filter
2015-05-29 11:25:06 -05:00
Tod Beardsley 9af7aa8e4d
Travis should fix to 2.1.6 directly, no fuzziness 2015-05-07 13:44:31 -05:00
Samuel Huckins 20514051bc
Set postgres version for Travis to 9.3 2015-04-09 17:16:37 -05:00
darkbushido e0e9445a40
removing 1.9.3 from travis
metasploit_data_models requires Ruby version >= 2.1.
2015-02-18 17:19:01 -06:00
William Vu 9b2fad24e0 Add new comment about post-merge hook 2015-02-11 13:48:13 -06:00
William Vu 987fdbaeec Remove extraneous comment 2015-02-11 13:46:25 -06:00
William Vu 4cd5e8f702 Reenable post-merge hook in Travis 2015-02-11 13:41:23 -06:00
Luke Imhoff bb3e36fded
Cache bundle
MSP-11931
2014-12-31 14:00:11 -06:00
Luke Imhoff b179daeb56
Enable containerized builds
MSP-11931

Disable the need for sudo to allow use of the faster docker
infrastructure.
2014-12-31 13:26:35 -06:00
Luke Imhoff 91e03e1bbb
Remove need for sudo
MSP-11931
2014-12-31 13:25:48 -06:00
Tod Beardsley d3050de862
Remove references to Redmine in code
See #4400. This should be all of them, except for, of course, the module
that targets Redmine itself.

Note that this also updates the README.md with more current information
as well.
2014-12-19 17:27:08 -06:00
Luke Imhoff 8c0610cb7a
Merge branch 'master' into feature/MSP-11671/test-optimization
MSP-11671

Conflicts:
	.travis.yml
2014-12-08 08:46:22 -06:00
Luke Imhoff 53df308752
Combine cucumber and cucumber:boot into one job
MSP-11671

The run times for cucumber are so much faster now that `spec --tag
content` is actually the slowest job (on 1.9.3).  The job is so slow
that the two cucumbers can be merged together and they will take the
same time, but we'll consume 2 fewer job slots (1 for 1.9.3 and 1 for
2.1), so the longer per job time is better as long as it does become the
longest job time.
2014-12-05 13:37:18 -06:00
Luke Imhoff 3d0fa84454
Don't install development gems on travis-ci
MSP-11671

Development group contains only yard+redcarpet, which is used to
generated documentation, which isn't done on travis-ci, and pry, which
is used for the msfconsole command, which isn't tested on travis-ci.
2014-12-05 13:30:24 -06:00
Luke Imhoff 328e96fed0
Don't install documentation on travis-ci
MSP-11671

Passs `--no-ri --no-rdoc` to gem.
2014-12-05 13:29:18 -06:00
Luke Imhoff da35c111c7
bundler_env -> bundler_args
MSP-11671

`bundler_env` isn't an option, it's called bundler_args.
2014-12-05 12:46:05 -06:00
Luke Imhoff 633b4b9e51
Disable simplecov on travis-ci
MSP-11671

`bundler install --without coverage` will not install `simplecov`.
Running without simplecov changes the average runtime of `rake
cucumber:boot` from (n=13) 112.50 seconds to (n=10) 32.17 seconds
(-71.41%). (-73.68% from 2c1203ba49d49603aec169eed053ab929ccdedc6.)  Raw
data:
https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
2014-12-05 11:58:09 -06:00
Tod Beardsley 2c9018ac0e
Travis shouldnt test gh-pages and friends
This adds a blacklist of branches that Travis shouldn't run tests
against.
2014-12-03 13:58:06 -06:00
Tod Beardsley f64e43427a
Comment out boot cucumber tests
This is in response to the slowness noticed over the last few days and
unrelated changes causing travis failures. For example:

https://github.com/rapid7/metasploit-framework/pull/4252#issuecomment-64923343
2014-12-01 12:24:06 -06:00
Luke Imhoff ef27d3f6b9
Enable fast_finish on travis-ci
MSP-11616

If any one build fails the entire build will be marked as failed so the
github status can be written back faster.
2014-11-17 08:33:05 -06:00
Luke Imhoff eea5a40677
Don't run `bundle exec rake $RAKE_TASK` if `git diff --exit-code` with 1
MSP-11616

Travis runs all entries in the script section even if earlier entries
exit with 1 and only fails the build as a whole once all entries have
run by &&ing together the exit codes.  Running `bundle exec rake
$RAKE_TASK` if the db/schema.rb is missing updates is unnecessary, so
use `&&` in the script section to stop `bundle exec rake $RAKE_TASK`
from running if `git diff --exit-code` exits with 1.
2014-11-17 08:12:47 -06:00
Luke Imhoff 4e2277c7d1
Move git diff --exit-code so build fails instead of errors
MSP-11616

With `git diff --exit-code` in `before_script` it caused the build to
show as errored in travis and didn't turn the merge button red, so try
moving to the `script` section to see if that will make the merge button
red.
2014-11-14 12:50:27 -06:00
Luke Imhoff 9c72a195d8
Fail travis build if db/schema.rb is missing commit of update
MSP-11616

Use `git diff --exit-code` to exit with 1 and fail the build if there is
an update to db/schema.rb after `rake db:migrate` runs on travis.
2014-11-14 09:57:03 -06:00
Tod Beardsley 30ff0a3f55
Remove 2.0 Travis testing
Fixes #4125
2014-11-03 15:32:20 -06:00
Tod Beardsley 0b39c2ed85
Land #4084, prep for Ruby 2.1 2014-11-03 13:43:50 -06:00
Luke Imhoff f37ca3e82b
SPEC -> SPEC_OPTS
MSP-11145

Fix typo in .travis.yml
2014-10-27 14:46:40 -05:00
Luke Imhoff 43552a8304
Tag module specs with :content
MSP-11145

Tag content-related specs so they can be run separately in travis-ci.
2014-10-27 14:25:34 -05:00
James Lee d4e2d533bf Add ruby 2.x to travis testing 2014-10-27 10:28:24 -05:00
darkbushido 77f0a2d420
fixing a merge error with travis.yml 2014-09-02 19:07:39 -05:00
darkbushido 50e804d9cb
updating how we use cucumber to match lukes changes 2014-09-02 18:57:55 -05:00
darkbushido 13a0b8da83
Merge branch 'master' into aruba-testing-with-updated-master
Conflicts:
	Gemfile.lock
	config/cucumber.yml
	features/support/env.rb
	features/support/hooks.rb
	lib/tasks/cucumber.rake
2014-09-02 13:56:02 -05:00
Luke Imhoff 2b2d9085d3
Add cucumber to test matrix
MSP-11153
2014-08-27 16:50:25 -05:00
darkbushido 715f54b755
trying to get travis-ci to run cucumber 2014-08-20 19:43:13 -05:00
Tod Beardsley 2d0ff4b9fb
Travis shouldn't autofail msftidy fails... yet
[SeeRM #8498]
2014-04-08 14:05:42 -05:00
Tod Beardsley 4ce2203355
Can we test the modules before the bundle install? 2014-04-03 10:41:42 -05:00
Tod Beardsley 3c657e1f0a
Okay just run it once 2014-04-03 10:25:55 -05:00
Tod Beardsley 2a26b7e9b9
Let's not screw up the .travis.yml 2014-04-03 10:00:19 -05:00
Tod Beardsley 868a7f6b4c
Add a new .travis.yml 2014-04-02 11:23:43 -05:00
Tod Beardsley bd5e327442
Also remove SPOTCHECK_RECENT from travis. 2014-04-02 11:12:54 -05:00
Tod Beardsley 87412be33d
Squash commit Travis-able msftidy checks
This change updates msftidy to be run automatically for new modules
added since the last tag release because we can't rely on folks using
tools/dev/pre-commit-hook before submitting a PR. Now, when one attempts
to open a PR with a non-tidy'ed module, the build will fail out of the
gate.

Related to the 100s of msftidy errors extant today.

[SeeRM #8498]

commit c894e52de5705a1133191be5e9caf3ebdee33621
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Fri Jan 31 14:17:02 2014 -0600

    Add a jacked up title to test travis. Revert this!

commit 2f00c190be71aeb456a7a546071286fd6d670bc1
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Fri Jan 31 11:39:42 2014 -0600

    Allow for checking and spotchecking.

commit db11e8dfad5381030b08c431a183dbafe7a5f304
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 17:16:37 2014 -0600

    Whoops, need to exit an Integer always.

commit 12d131d3157a78ff11e597476138323ed0a062fc
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 16:59:35 2014 -0600

    Allow for exit statuses from msftidy.

commit 2c3b294ff17416f49935472caf2b6be3dbdd93a4
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 15:36:43 2014 -0600

    Be more dynamic about tag checking years

commit d5d8a0b05ac17fb18666a9c252dbb6928d6b5e56
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 14:36:44 2014 -0600

    Don't warn when there's really nothing

commit fb44a3142fb01eb2647c1c240bb1cc2e7bf59120
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 14:21:50 2014 -0600

    Revert the intentional failure

    This reverts commit 99a7630b0da301b27ac495cb027009a8cd9e2caf.

    Fun fact: Reverting a commit does not automatically sign with my current
    aliases, one must git revert then git c --amend.

commit 99a7630b0da301b27ac495cb027009a8cd9e2caf
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 14:08:05 2014 -0600

    Cause an exit status in precommit check

    Maybe travis will see these and fail the build.

    Don't forget to revert this commit @todb-r7 !

commit 5a3b2fcd9598fae51a0dd2c7c87680c703a85448
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 13:11:04 2014 -0600

    Update msftidy pre-commit-hook for spotchecking

commit 3f255e36dad9ed3081aaf359f845525d96872ef0
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 12:35:16 2014 -0600

    Travis should run msftidy via precommit hook

commit 0959d9d2d281590a94c0ac960e43b74354e4e21b
Author: Tod Beardsley <tod_beardsley@rapid7.com>
Date:   Thu Jan 30 12:25:53 2014 -0600

    Add SPOTCHECK_RECENT to msftidy.rb
2014-01-31 14:19:04 -06:00