modulesync
[puppet_systemd.git] / .travis.yml
1 ---
2 language: ruby
3 sudo: false
4 addons:
5   apt:
6     packages:
7       - libaugeas-dev
8     sources:
9       - augeas
10 cache: bundler
11 bundler_args: --without system_tests
12 script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec rake spec SPEC_OPTS='--format documentation'"]
13 matrix:
14   fast_finish: true
15   include:
16   - rvm: 1.9.3
17     env: PUPPET_GEM_VERSION="~> 3.0"
18   - rvm: 2.0.0
19     env: PUPPET_GEM_VERSION="~> 3.0"
20   - rvm: 2.0.0
21     env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
22   - rvm: 2.1.9
23     env: PUPPET_GEM_VERSION="~> 4.5.0"
24 notifications:
25   email: false
26 deploy:
27   provider: puppetforge
28   user: camptocamp
29   password:
30     secure: "ASTRdmLjJNa1NvHy2LRGvmvUeth6W3Fh/alYWvcvI8nDDsdkweHk0iXhcXZwtMQReb0NI5vJiRNXNy7a3XySC4+SP3hfHuDU58H2FqC4Ff0EHRPRHTEiXf7xmN53RxXYXZQvrFfqUb6tIsBNVKVmsYWNe01k8NVKPyYDfQB75PQ="
31   on:
32     tags: true
33     # all_branches is required to use tags
34     all_branches: true
35     # Only publish if our main Ruby target builds
36     rvm: 2.1.9