Get rid of Travis CI and run tests with CircleCI
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -23,6 +23,9 @@ jobs:
- run:
name: Showing gems versions in bundle
command: bundle list
+ - run:
+ name: Run specs
+ command: bundle exec rake
- run:
name: Execute Kitchen tests
command: bundle exec rake circle

DELETE
.travis.yml
-sudo: false
-
-branches:
- only:
- - master
- - /^\d+\.\d+\.x$/ # release forked patches branch
-
-addons:
- apt:
- sources:
- - chef-stable-precise
- packages:
- - chefdk
-
-# Don't `bundle install`
-install: echo "skip bundle install"
-
-# Ensure we make ChefDK's Ruby the default
-before_script:
- - eval "$(/opt/chefdk/bin/chef shell-init bash)"
- - chef gem install coveralls -v '0.8.19'
- - chef gem install json_spec -v '~> 1.1.4'
-
-script:
- - chef --version
- - chef gem query -d chefspec rubocop foodcritic rake
- - chef exec rake

MODIFY
README.md
README.md
@@ -4,7 +4,6 @@ To submit issues and patches please visit https://github.com/DataDog/chef-datado
The code is licensed under the Apache License 2.0 (see LICENSE for details).
[![Chef cookbook](https://img.shields.io/cookbook/v/datadog.svg?style=flat)](https://github.com/DataDog/chef-datadog)
-[![Build Status](https://travis-ci.com/DataDog/chef-datadog.svg?branch=master)](https://travis-ci.com/DataDog/chef-datadog)
[![Circle CI](https://circleci.com/gh/DataDog/chef-datadog.svg?style=shield)](https://circleci.com/gh/DataDog/chef-datadog)
[![Coverage Status](https://coveralls.io/repos/DataDog/chef-datadog/badge.svg?branch=master)](https://coveralls.io/r/DataDog/chef-datadog?branch=master)
[![GitHub forks](https://img.shields.io/github/forks/DataDog/chef-datadog.svg)](https://github.com/DataDog/chef-datadog/network)

Get rid of Travis CI and run tests with CircleCI