Skip to content

Commit

Permalink
Remove from private Workflow
Browse files Browse the repository at this point in the history
Shift to using Travis for testing instead of internal Automate instance.

Signed-off-by: Tom Duffield <tom@chef.io>
  • Loading branch information
tduffield committed May 17, 2017
1 parent 41b94ff commit 964e633
Show file tree
Hide file tree
Showing 30 changed files with 61 additions and 872 deletions.
50 changes: 0 additions & 50 deletions .delivery/config.json

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ vendor/
/omnibus/local/
nodes/
local-mode-cache
Gemfile.lock
.DS_Store

# Cucumber Stuff
tmp/
Expand Down
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Run only on PRs and the master branch
branches:
only:
- master

# Default to use the container infrastructure
dist: trusty
sudo: false

# Chttps://docs.travis-ci.com/user/caching/#Rust-Cargo-cache
cache:
- cargo
- bundler

# Set the default language to rust
# https://docs.travis-ci.com/user/languages/rust/
language: rust
rust:
- 1.15.0 # What we ship now
- stable # What we could ship in the next release
- beta # What we'll be using in a few months (likely)

# Since the delivery-cli ships in the ChefDK, we use the ChefDK as a base
# ruby to ensure everything works appropriately.
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
install:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"

script:
- make travis

# Don't let failures in non-required versions block us
matrix:
allow_failures:
- rust: beta
9 changes: 0 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,3 @@ gem 'rack'
gem 'grape'
gem 'cucumber'
gem 'aruba'

# This group of gems are required to be able to run
# chefdk commands like `rspec` within cucumber/aruba
group :chefdk_deps do
gem 'berkshelf'
gem 'cookstyle'
gem 'rspec'
gem 'chefspec'
end
Loading

0 comments on commit 964e633

Please sign in to comment.