Skip to content

Commit

Permalink
Configure CI
Browse files Browse the repository at this point in the history
CI was using a default configuration, which led to broken builds due to
dependency problems. This adds a base configuration which we can tweak
as support is better defined.
  • Loading branch information
Tom Johnson committed Jan 6, 2017
1 parent 7f44375 commit 5bd4423
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: ruby
bundler_args: --without debug
script: "bundle exec rake ci"
sudo: false
cache: bundler
rvm:
- 2.3.3
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks

desc 'Run CI'
task :ci do
sh 'cp config/ldf.yml.sample_repository config/ldf.yml'
Rake::Task['spec'].invoke
end

0 comments on commit 5bd4423

Please sign in to comment.