forked from crowbar/crowbar-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (26 loc) · 778 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: ruby
cache: bundler
dist: xenial
rvm: 2.1.9
matrix:
include:
- name: "Validate Commit Message"
language: python
script:
- pip install gitlint
- wget https://raw.githubusercontent.com/SUSE-Cloud/automation/master/scripts/jenkins/gitlint.ini
- gitlint --commits `git rev-parse --abbrev-ref HEAD`..HEAD -C gitlint.ini
- name: "Syntaxcheck"
gemfile: Gemfile
script:
- bundle exec rake syntaxcheck
- name: "Validate Framework (RSpec)"
gemfile: Gemfile
script:
- bundle exec rake spec
- name: "Validate Databags"
gemfile: Gemfile
script:
- bundle exec crowbar-validate-databags chef/data_bags/crowbar
before_install:
- rvm @global do gem install bundler -v '< 2.0.0'