2014-08-27 23:50:25 +02:00
|
|
|
env:
|
|
|
|
- RAKE_TASK=cucumber
|
2014-12-01 19:24:06 +01:00
|
|
|
# Commenting out the boot tests due to chronic timeouts.
|
|
|
|
# - RAKE_TASK=cucumber:boot
|
2014-10-27 20:46:40 +01:00
|
|
|
- RAKE_TASK=spec SPEC_OPTS="--tag content"
|
|
|
|
- RAKE_TASK=spec SPEC_OPTS="--tag ~content"
|
2014-09-03 02:07:39 +02:00
|
|
|
|
2012-11-07 15:29:44 +01:00
|
|
|
language: ruby
|
2014-11-17 15:33:05 +01:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2013-02-19 22:41:31 +01:00
|
|
|
before_install:
|
2014-01-06 19:47:36 +01:00
|
|
|
- rake --version
|
2013-02-19 22:41:31 +01:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq libpcap-dev
|
2014-04-08 21:05:17 +02:00
|
|
|
# Uncomment when we have fewer shipping msftidy warnings.
|
|
|
|
# Merge committers will still be checking, just not autofailing.
|
|
|
|
# See https://dev.metasploit.com/redmine/issues/8498
|
|
|
|
# - ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
|
|
|
|
# - ls -la ./.git/hooks
|
|
|
|
# - ./.git/hooks/post-merge
|
2014-04-03 17:41:42 +02:00
|
|
|
before_script:
|
2013-03-15 14:48:20 +01:00
|
|
|
- cp config/database.yml.travis config/database.yml
|
2014-01-06 19:29:50 +01:00
|
|
|
- bundle exec rake --version
|
|
|
|
- bundle exec rake db:create
|
|
|
|
- bundle exec rake db:migrate
|
2014-11-14 19:50:27 +01:00
|
|
|
script:
|
2014-11-14 16:57:03 +01:00
|
|
|
# fail build if db/schema.rb update is not committed
|
2014-11-17 15:12:47 +01:00
|
|
|
- git diff --exit-code && bundle exec rake $RAKE_TASK
|
2013-02-19 22:41:31 +01:00
|
|
|
|
2012-11-07 15:29:44 +01:00
|
|
|
rvm:
|
2012-11-08 03:53:55 +01:00
|
|
|
- '1.9.3'
|
2014-09-08 04:55:13 +02:00
|
|
|
- '2.1'
|
2012-11-09 22:02:09 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#msfnotify"
|
|
|
|
|
2013-01-24 22:48:04 +01:00
|
|
|
git:
|
2013-09-17 00:23:16 +02:00
|
|
|
depth: 5
|