aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJorie Tappa <jorie@jorietappa.com>2018-07-19 16:54:15 -0500
committerJorie Tappa <jorie@jorietappa.com>2018-07-19 16:54:15 -0500
commite74dce11298298889a40879aad1e2fcc27fa0559 (patch)
tree3095399f6e3f25c2f24949efefca4a950bc5ae22 /.travis.yml
parent2142feac49c20972e39ed0e11a017fbbf15cc51f (diff)
downloadpuppet-cron_core-e74dce11298298889a40879aad1e2fcc27fa0559.tar.gz
puppet-cron_core-e74dce11298298889a40879aad1e2fcc27fa0559.tar.bz2
Install pdk
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..81f77dd
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,44 @@
+---
+sudo: false
+dist: trusty
+language: ruby
+cache: bundler
+before_install:
+ - bundle -v
+ - rm -f Gemfile.lock
+ - gem update --system
+ - gem --version
+ - bundle -v
+script:
+ - 'bundle exec rake $CHECK'
+bundler_args: --without system_tests
+rvm:
+ - 2.4.1
+env:
+ global:
+ - BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
+matrix:
+ fast_finish: true
+ include:
+ -
+ env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
+ -
+ env: CHECK=parallel_spec
+ -
+ env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
+ rvm: 2.1.9
+branches:
+ only:
+ - master
+ - /^v\d/
+notifications:
+ email: false
+deploy:
+ provider: puppetforge
+ user: puppet
+ password:
+ secure: ""
+ on:
+ tags: true
+ all_branches: true
+ condition: "$DEPLOY_TO_FORGE = yes"