Merge remote-tracking branch 'camptocamp/master'
[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: 2.1.9
17     env: PUPPET_GEM_VERSION="~> 4.0"
18   - rvm: 2.3.1
19     env: PUPPET_GEM_VERSION="~> 4"
20 notifications:
21   email: false
22 deploy:
23   provider: puppetforge
24   user: camptocamp
25   password:
26     secure: "ASTRdmLjJNa1NvHy2LRGvmvUeth6W3Fh/alYWvcvI8nDDsdkweHk0iXhcXZwtMQReb0NI5vJiRNXNy7a3XySC4+SP3hfHuDU58H2FqC4Ff0EHRPRHTEiXf7xmN53RxXYXZQvrFfqUb6tIsBNVKVmsYWNe01k8NVKPyYDfQB75PQ="
27   on:
28     tags: true
29     # all_branches is required to use tags
30     all_branches: true
31     # Only publish if our main Ruby target builds
32     rvm: 2.1.9