Merge pull request #666 from HelenCampbell/release
[puppet-modules/puppetlabs-apt.git] / .travis.yml
index 72388c20438f26635d529fc32b3d6e6ed2f09310..115691d393be4b1af98560703842c6a9a2cc9937 100644 (file)
@@ -3,7 +3,10 @@
 sudo: false
 language: ruby
 cache: bundler
-script: "bundle exec rake validate lint spec"
+script: "bundle exec rake release_checks"
+#Inserting below due to the following issue: https://github.com/travis-ci/travis-ci/issues/3531#issuecomment-88311203
+before_install:
+  - gem update bundler
 matrix:
   fast_finish: true
   include:
@@ -22,17 +25,8 @@ matrix:
   - rvm: 2.3.1
     bundler_args: --without system_tests
     env: PUPPET_GEM_VERSION="~> 4.0"
-  - rvm: 2.1.9
+  - rvm: 2.1.7
     bundler_args: --without system_tests
     env: PUPPET_GEM_VERSION="~> 4.0"
-  - rvm: 2.1.5
-    bundler_args: --without system_tests
-    env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
-  - rvm: 2.1.5
-    bundler_args: --without system_tests
-    env: PUPPET_GEM_VERSION="~> 3.0"
-  - rvm: 1.9.3
-    bundler_args: --without system_tests
-    env: PUPPET_GEM_VERSION="~> 3.0"
 notifications:
   email: false