1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00
metasploit-framework/.travis.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

sudo: false
group: stable
2014-12-31 20:25:48 +01:00
bundler_args: --without coverage development pcap
2014-12-31 21:00:11 +01:00
cache: bundler
addons:
postgresql: '9.3'
apt:
packages:
- libpcap-dev
- graphviz
language: ruby
rvm:
2016-03-31 23:40:15 +02:00
- '2.1.9'
2014-08-27 23:50:25 +02:00
env:
2015-12-30 18:00:45 +01: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 02:07:39 +02:00
matrix:
fast_finish: true
2013-02-19 22:41:31 +01:00
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- rake --version
2015-02-11 20:48:13 +01:00
# Fail build if msftidy is not successful
2015-02-11 20:40:53 +01: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
notifications:
irc: "irc.freenode.org#msfnotify"
git:
depth: 5
# Blacklist certain branches from triggering travis builds
branches:
except:
- gh-pages
2016-03-31 23:40:15 +02:00
- metakitty