Move to Travis CI

This commit is contained in:
uu59 2015-11-30 14:08:01 +09:00
parent e1b0846270
commit 287e79a360
6 changed files with 10 additions and 23 deletions

1
.rspec
View File

@ -1 +1,2 @@
--color
-f d

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
rvm: 2.1.3
sudo: required
install:
- wget http://packages.treasuredata.com.s3.amazonaws.com/2/ubuntu/precise/pool/contrib/t/td-agent/td-agent_2.2.0-0_amd64.deb
- sudo dpkg -i td-agent_2.2.0-0_amd64.deb
- bundle install --jobs=4 --retry=4

View File

@ -1,6 +1,6 @@
# fluentd-ui
[![build status](https://circleci.com/gh/fluent/fluentd-ui.png?style=shield&circle-token=a739a52ae9ae6774ab2192d4236a5f93ac29e11e)](https://circleci.com/gh/fluent/fluentd-ui)
[![Build Status](https://travis-ci.org/fluent/fluentd-ui.svg?branch=master)](https://travis-ci.org/fluent/fluentd-ui)
[![Gem Version](https://badge.fury.io/rb/fluentd-ui.svg)](http://badge.fury.io/rb/fluentd-ui)
[![Code Climate](https://codeclimate.com/github/fluent/fluentd-ui/badges/gpa.svg)](https://codeclimate.com/github/fluent/fluentd-ui)

View File

@ -1,15 +0,0 @@
machine:
environment:
SPEC_OPTS: "-f d --color"
ruby:
version: 2.1.3
checkout:
post:
- mkdir -p tmp
- sync
dependencies:
pre:
- wget http://packages.treasuredata.com.s3.amazonaws.com/2/ubuntu/precise/pool/contrib/t/td-agent/td-agent_2.2.0-0_amd64.deb
- sudo dpkg -i td-agent_2.2.0-0_amd64.deb

View File

@ -144,8 +144,6 @@ describe Fluentd do
describe "#ensure_default_config_file" do
subject do
skip "Circle CI file operations are unstable :(" if ENV["CIRCLECI"]
fluentd.config_file = config_file
fluentd.save
fluentd.config_file

View File

@ -1,11 +1,6 @@
if ENV['RAILS_ENV'] == 'test'
require 'simplecov'
SimpleCov.start 'rails'
if ENV['CIRCLE_ARTIFACTS'] # https://circleci.com/docs/code-coverage
dir = File.join("..", "..", "..", ENV['CIRCLE_ARTIFACTS'], "coverage")
SimpleCov.coverage_dir(dir)
end
end
# This file is copied to spec/ when you run 'rails generate rspec:install'