mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Move to Travis CI
This commit is contained in:
parent
e1b0846270
commit
287e79a360
8
.travis.yml
Normal file
8
.travis.yml
Normal 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
|
||||
@ -1,6 +1,6 @@
|
||||
# fluentd-ui
|
||||
|
||||
[](https://circleci.com/gh/fluent/fluentd-ui)
|
||||
[](https://travis-ci.org/fluent/fluentd-ui)
|
||||
[](http://badge.fury.io/rb/fluentd-ui)
|
||||
[](https://codeclimate.com/github/fluent/fluentd-ui)
|
||||
|
||||
|
||||
15
circle.yml
15
circle.yml
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user