Browse Source

add bundle install command to .travis.yml

saberma 10 years ago
parent
commit
ae95b5d429
1 changed files with 7 additions and 7 deletions
  1. 7 7
      .travis.yml

+ 7 - 7
.travis.yml

@@ -1,14 +1,14 @@
 language: ruby
 
-script:
-  - bundle exec rake spec
+before_script: bundle install
+
+script: bundle exec rake spec
 
 matrix:
   include:
     - rvm: 2.0.0
-      gemfile:
-        - gemfiles/rails4.gemfile
-        - gemfiles/rails32.gemfile
+      gemfile: gemfiles/rails4.gemfile
+    - rvm: 2.0.0
+      gemfile: gemfiles/rails32.gemfile
     - rvm: 1.9.3
-      gemfile:
-        - gemfiles/rails31.gemfile
+      gemfile: gemfiles/rails31.gemfile