Browse Source

Merge pull request #2254 from JasonLunn/patch-1

Use git clean before installing via bundler
Feng Xiao 9 years ago
parent
commit
008b5a228b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ruby/travis-test.sh

+ 2 - 0
ruby/travis-test.sh

@@ -10,12 +10,14 @@ test_version() {
     bash --login -c \
     bash --login -c \
       "rvm install $version && rvm use $version && rvm get head && \
       "rvm install $version && rvm use $version && rvm get head && \
        which ruby && \
        which ruby && \
+       git clean -f && \
        gem install bundler && bundle && \
        gem install bundler && bundle && \
        rake test"
        rake test"
   else
   else
     bash --login -c \
     bash --login -c \
       "rvm install $version && rvm use $version && \
       "rvm install $version && rvm use $version && \
        which ruby && \
        which ruby && \
+       git clean -f && \
        gem install bundler && bundle && \
        gem install bundler && bundle && \
        rake test &&
        rake test &&
        cd ../conformance && make test_ruby"
        cd ../conformance && make test_ruby"