Commit 1429ca77 authored by PiTrem's avatar PiTrem
Browse files

setup ci

parent 00fab0c8
language: ruby
rvm:
- 2.2.1
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test;' -U postgres
addons:
postgresql: "9.3"
services:
- postgresql
......@@ -76,6 +76,9 @@ gem "dotenv-rails"
gem "backup"
gem 'yaml_db'
# CI
gem 'coveralls', require: false
if ENV.fetch("RAILS_ENV", "development").match(/^(development|test)\z/)
gem 'openbabel', '2.3.2.1', github: 'cubuslab/openbabel-gem'
elsif ENV["RAILS_ENV"] == "production"
......
......@@ -158,6 +158,12 @@ GEM
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
concurrent-ruby (1.0.2)
coveralls (0.8.15)
json (>= 1.8, < 3)
simplecov (~> 0.12.0)
term-ansicolor (~> 1.3)
thor (~> 0.19.1)
tins (>= 1.6.0, < 2)
daemons (1.2.3)
database_cleaner (1.5.3)
debug_inspector (0.0.2)
......@@ -175,6 +181,7 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
dotenv (2.1.1)
dotenv-rails (2.1.1)
dotenv (= 2.1.1)
......@@ -385,6 +392,11 @@ GEM
rubyzip (~> 1.0)
websocket (~> 1.0)
sexp_processor (4.7.0)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
sinatra (1.4.7)
rack (~> 1.5)
rack-protection (~> 1.4)
......@@ -404,6 +416,8 @@ GEM
sshkit (1.10.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
term-ansicolor (1.3.2)
tins (~> 1.0)
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
......@@ -413,6 +427,7 @@ GEM
tilt (2.0.2)
timers (4.0.4)
hitimes
tins (1.11.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.0)
......@@ -458,6 +473,7 @@ DEPENDENCIES
capistrano-rvm
capistrano3-delayed-job
capybara (~> 2.4)
coveralls
daemons
database_cleaner
delayed_job_active_record
......
test:
adapter: postgresql
encoding: unicode
database: travis_ci_test
username: postgres
require 'coveralls'
Coveralls.wear!
require 'factory_girl_rails'
RSpec.configure do |config|
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment