metasploit-framework/.travis.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2014-12-31 19:25:48 +00:00
bundler_args: --without coverage development pcap
2014-12-31 20:00:11 +00:00
cache: bundler
2014-08-27 21:50:25 +00:00
env:
2015-12-30 17:00:45 +00:00
- RAKE_TASKS="cucumber cucumber:boot" CREATE_BINSTUBS=true
- RAKE_TASKS=spec SPEC_OPTS="--tag content"
- RAKE_TASKS=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:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- rake --version
2015-02-11 19:48:13 +00:00
# Fail build if msftidy is not successful
2015-02-11 19:40:53 +00:00
- 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 db/schema.rb && bundle exec rake $RAKE_TASKS
sudo: false
rvm:
2015-10-02 18:06:54 +00:00
- '2.1.7'
notifications:
irc: "irc.freenode.org#msfnotify"
git:
depth: 5
# Blacklist certain branches from triggering travis builds
branches:
except:
- gh-pages
- metakitty
2015-04-09 22:16:37 +00:00
addons:
postgresql: '9.3'
apt:
packages:
- libpcap-dev