Skip to content

Commit 5bd4423

Browse files
author
Tom Johnson
committed
Configure CI
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.
1 parent 7f44375 commit 5bd4423

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: ruby
2+
bundler_args: --without debug
3+
script: "bundle exec rake ci"
4+
sudo: false
5+
cache: bundler
6+
rvm:
7+
- 2.3.3

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
require File.expand_path('../config/application', __FILE__)
55

66
Rails.application.load_tasks
7+
8+
desc 'Run CI'
9+
task :ci do
10+
sh 'cp config/ldf.yml.sample_repository config/ldf.yml'
11+
Rake::Task['spec'].invoke
12+
end

0 commit comments

Comments
 (0)