From 5bd442364d2d866eae9ac76acf3941da39c93ffd Mon Sep 17 00:00:00 2001 From: Tom Johnson Date: Fri, 6 Jan 2017 11:57:05 -0800 Subject: [PATCH] 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. --- .travis.yml | 7 +++++++ Rakefile | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7e6356e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: ruby +bundler_args: --without debug +script: "bundle exec rake ci" +sudo: false +cache: bundler +rvm: + - 2.3.3 diff --git a/Rakefile b/Rakefile index ba6b733..e7876b1 100644 --- a/Rakefile +++ b/Rakefile @@ -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