2014-12-05 19:30:24 +00:00
|
|
|
bundler_args: --without development coverage
|
2014-08-27 21:50:25 +00:00
|
|
|
env:
|
2014-12-05 19:37:18 +00:00
|
|
|
- RAKE_TASKS="cucumber cucumber:boot"
|
|
|
|
- RAKE_TASKS=spec SPEC_OPTS="--tag content"
|
|
|
|
- RAKE_TASKS=spec SPEC_OPTS="--tag ~content"
|
2014-09-03 00:07:39 +00:00
|
|
|
|
2012-11-07 14:29:44 +00:00
|
|
|
language: ruby
|
2014-11-17 14:33:05 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2013-02-19 21:41:31 +00:00
|
|
|
before_install:
|
2014-12-05 19:29:18 +00:00
|
|
|
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
|
2014-01-06 18:47:36 +00:00
|
|
|
- rake --version
|
2013-02-19 21:41:31 +00:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq libpcap-dev
|
2014-04-08 19:05:17 +00: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 15:41:42 +00:00
|
|
|
before_script:
|
2013-03-15 13:48:20 +00:00
|
|
|
- cp config/database.yml.travis config/database.yml
|
2014-01-06 18:29:50 +00:00
|
|
|
- bundle exec rake --version
|
|
|
|
- bundle exec rake db:create
|
|
|
|
- bundle exec rake db:migrate
|
2014-11-14 18:50:27 +00:00
|
|
|
script:
|
2014-11-14 15:57:03 +00:00
|
|
|
# fail build if db/schema.rb update is not committed
|
2014-12-05 19:37:18 +00:00
|
|
|
- git diff --exit-code && bundle exec rake $RAKE_TASKS
|
2013-02-19 21:41:31 +00:00
|
|
|
|
2012-11-07 14:29:44 +00:00
|
|
|
rvm:
|
2012-11-08 02:53:55 +00:00
|
|
|
- '1.9.3'
|
2014-09-08 02:55:13 +00:00
|
|
|
- '2.1'
|
2012-11-09 21:02:09 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
irc: "irc.freenode.org#msfnotify"
|
|
|
|
|
2013-01-24 21:48:04 +00:00
|
|
|
git:
|
2013-09-16 22:23:16 +00:00
|
|
|
depth: 5
|
2014-12-03 19:58:06 +00:00
|
|
|
|
|
|
|
# Blacklist certain branches from triggering travis builds
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gh-pages
|
|
|
|
- metakitty
|