metasploit-framework/.travis.yml

38 lines
984 B
YAML
Raw Normal View History

2014-08-27 21:50:25 +00:00
env:
- RAKE_TASK=cucumber
- RAKE_TASK=cucumber:boot
- RAKE_TASK=spec SPEC_OPTS="--tag content"
- RAKE_TASK=spec SPEC_OPTS="--tag ~content"
2014-09-03 00:07:39 +00:00
language: ruby
matrix:
fast_finish: true
2013-02-19 21:41:31 +00:00
before_install:
- rake --version
2013-02-19 21:41:31 +00:00
- sudo apt-get update -qq
- sudo apt-get install -qq libpcap-dev
# 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
before_script:
- cp config/database.yml.travis config/database.yml
- bundle exec rake --version
- bundle exec rake db:create
- bundle exec rake db:migrate
script:
# fail build if db/schema.rb update is not committed
- git diff --exit-code && bundle exec rake $RAKE_TASK
2013-02-19 21:41:31 +00:00
rvm:
- '1.9.3'
2014-09-08 02:55:13 +00:00
- '2.1'
notifications:
irc: "irc.freenode.org#msfnotify"
git:
depth: 5