Skip to content

Commit

Permalink
Change mspec/spec to us gitmodules
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpclark committed Sep 8, 2017
1 parent d1f07a4 commit d3e466d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -1,3 +1,6 @@
[submodule "spec/ruby_spec"]
path = spec/ruby_spec
url = https://github.com/ruby/spec
[submodule "spec/mspec"]
path = spec/mspec
url = https://github.com/ruby/mspec
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,7 @@ matrix:
allow_failures:
- env: RUST_BACKTRACE=1 ENCODING=true TEST_MONKEYPATCHES=true WITH_REGRESSION=true
before_install:
- gem install bundler -v 1.14.5
- gem install bundler --pre
- curl -sSf https://static.rust-lang.org/rustup.sh | sudo sh -s -- --channel=nightly
- bundle && bundle exec rake build_src && rake clean_src
script: bundle exec rake test
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -69,12 +69,12 @@ Rake::TestTask.new(minitest: :build_lib) do |t|
end

task test: [:cargo, :minitest, :lint] do |_t|
exec 'mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname'
exec 'spec/mspec/bin/mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname'
end

desc "Full mspec results w/o encoding"
task :mspec_full do
exec %(bash -c "TEST_MONKEYPATCHES=true WITH_REGRESSION=true mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname")
exec %(bash -c "TEST_MONKEYPATCHES=true WITH_REGRESSION=true spec/mspec/bin/mspec --format spec core/file/basename core/file/extname core/file/dirname library/pathname")
end

desc "Full mspec results w/ encoding"
Expand Down
1 change: 1 addition & 0 deletions spec/mspec
Submodule mspec added at 7b67e0

0 comments on commit d3e466d

Please sign in to comment.