Skip to content

Commit c3c8ec7

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 44e69f1 + 5cdd364 commit c3c8ec7

File tree

584 files changed

+9615
-1393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

584 files changed

+9615
-1393
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.2

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@ addons:
1212
language: ruby
1313
rvm:
1414
- '2.2'
15-
- '2.3.4'
16-
- '2.4.1'
15+
- '2.3.5'
16+
- '2.4.2'
1717

1818
env:
1919
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag content"'
2020
- CMD='bundle exec rake rspec-rerun:spec SPEC_OPTS="--tag ~content"'
2121

2222
matrix:
2323
fast_finish: true
24+
25+
jobs:
26+
# build docker image
2427
include:
25-
- rvm: ruby-head
26-
env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build"
28+
- env: CMD="docker-compose -f $TRAVIS_BUILD_DIR/docker-compose.yml build" DOCKER="true"
29+
# we do not need any setup
30+
before_install: skip
31+
install: skip
32+
before_script: skip
2733
before_install:
2834
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
2935
- rake --version
@@ -42,7 +48,8 @@ before_script:
4248
- git diff --exit-code db/schema.rb
4349
script:
4450
- echo "${CMD}"
45-
- bash -c "${CMD}"
51+
# we need travis_wait because the Docker build job can take longer than 10 minutes
52+
- if [[ "${DOCKER}" == "true" ]]; then echo "Starting Docker build job"; travis_wait 40 "${CMD}"; else bash -c "${CMD}"; fi
4653

4754
notifications:
4855
irc: "irc.freenode.org#msfnotify"

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.4.1-alpine
1+
FROM ruby:2.4.2-alpine
22
MAINTAINER Rapid7
33

44
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
@@ -36,7 +36,8 @@ RUN apk update && \
3636
ncurses-dev \
3737
git \
3838
&& echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
39-
&& gem update --system \
39+
# this currently fails: https://github.com/rubygems/rubygems/issues/2064
40+
# && gem update --system \
4041
&& gem install bundler \
4142
&& bundle install --system $BUNDLER_ARGS \
4243
&& apk del .ruby-builddeps \

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ group :development do
1919
# module documentation
2020
gem 'octokit'
2121
# Metasploit::Aggregator external session proxy
22-
# Disabled for now for crypttlv updates
23-
# gem 'metasploit-aggregator'
22+
gem 'metasploit-aggregator' if [
23+
'x86-mingw32', 'x64-mingw32',
24+
'x86_64-linux', 'x86-linux',
25+
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
2426
end
2527

2628
group :development, :test do

0 commit comments

Comments
 (0)