.travis.yml 1.04 KB
Newer Older
1
---
2
language: ruby
3
sudo: false
Raphaël Pinson's avatar
Raphaël Pinson committed
4 5 6 7
cache:
  directories:
    - vendor/bundle
    - spec/fixtures/modules
8
bundler_args: --without system_tests
Raphaël Pinson's avatar
Raphaël Pinson committed
9
script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec rake spec_prep", "bundle exec fakeroot rake spec_standalone SPEC_OPTS='--format documentation'", "bundle exec rake metadata"]
10
matrix:
11
  fast_finish: true
12
  include:
13
  - rvm: 1.8.7
Mickaël Canévet's avatar
Mickaël Canévet committed
14
    env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 1.7.0"
15 16 17 18
  - rvm: 1.9.3
    env: PUPPET_GEM_VERSION="~> 3.0"
  - rvm: 2.0.0
    env: PUPPET_GEM_VERSION="~> 3.0"
Raphaël Pinson's avatar
Raphaël Pinson committed
19
  - rvm: 2.0.0
20
    env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
21 22
notifications:
  email: false
Raphaël Pinson's avatar
Raphaël Pinson committed
23 24 25 26 27 28 29 30 31 32 33
deploy:
  provider: puppetforge
  user: camptocamp
  password:
    secure: "XAv4O363tng0KuRnu1ZhhwORy+2CF9UQwdwlFmS+NG9jOaTZZN+PMK8iC7OSIvZN6cfKlYjHRHNuxFBnYlnMrLsM9fVxt4NjjznOgIKQpQDleWk4UitZj5ntyHmUtYtofUd5Bhi/sdYXwGN9pVRCrcfFBmsIRq/dOhXD7Wy5KcQ="
  on:
    tags: true
    # all_branches is required to use tags
    all_branches: true
    # Only publish if our main Ruby target builds
    rvm: 1.9.3