Skip to content

Commit

Permalink
Add Travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed Dec 14, 2016
1 parent 5d1f148 commit a280a14
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .rspec_ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--require manageiq/spec/spec_helper
--require spec_helper
--color
--order random
--profile 25
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: ruby
rvm:
- '2.3.1'
sudo: false
cache: bundler
addons:
postgresql: '9.4'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
before_script: bundle exec rake spec:setup
after_script: bundle exec codeclimate-test-reporter
12 changes: 12 additions & 0 deletions tools/ci/before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
set -e

git clone https://github.com/ManageIQ/manageiq.git --depth 1 spec/manageiq

cd spec/manageiq
source tools/ci/setup_vmdb_configs.sh
source tools/ci/setup_js_env.sh
cd -

source spec/manageiq/tools/ci/setup_ruby_env.sh

set +v

0 comments on commit a280a14

Please sign in to comment.