forked from crowbar/crowbar-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 862 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
30
31
32
33
34
35
language: ruby
sudo: false
cache: bundler
dist: trusty
rvm: 2.1.9
env: SKIP_CHECKS=yes
matrix:
include:
- gemfile: Gemfile
script:
- bundle exec danger
- gemfile: crowbar_framework/Gemfile
script:
- cd crowbar_framework
- bin/bundle install
- bin/rake db:create db:migrate
- bundle exec rake spec brakeman:run
# ignore rest-client issues, chef 10 requires that
- bin/bundle exec bundle-audit update
- bin/bundle exec bundle-audit check --ignore CVE-2015-1820 OSVDB-117461
- gemfile: chef/cookbooks/barclamp/Gemfile
script:
- cd chef/cookbooks/barclamp && bundle exec rake
- gemfile: crowbar_framework/Gemfile
script:
- crowbar_framework/bin/bundle exec knife cookbook test -c .knife-test.rb -a
addons:
apt:
packages:
- libarchive-dev