Skip to content

Commit 0c07fce

Browse files
committed
Travis configuration and instructions (Work In Progress)
1 parent b5972f8 commit 0c07fce

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Setting up Travis CI:
2+
3+
# 1. Go to https://travis-ci.org
4+
# 2. Click the Sign Up/Sign in with GitHub button and give Travis CI permission
5+
# to access your GitHub repositories.
6+
# 3. Create a file like this one you're reading at `your-rails-app/.travis.yml`:
7+
8+
9+
language: ruby
10+
rvm:
11+
- 2.2.x
12+
# Add more Ruby versions to list if supported,
13+
# Travis supports these versions: http://rubies.travis-ci.org/
14+
15+
# 4. OPTIONAL Only customize the `script` option if needed.
16+
17+
# The `script` option is an optional list of the main build task(s). `rake` is
18+
# the default script option for Travis and most Rails projects will want this
19+
# when starting out as this usually runs `rake test`.
20+
21+
# Commented out `script` option as default is what we want:
22+
# script:
23+
# - rake # `rake` is the Travis default, which runs `rake test`
24+
25+
# Suggested docs
26+
# --------------
27+
# Getting Started: http://docs.travis-ci.com/user/getting-started/
28+
# Ruby & Travis CI docs: http://docs.travis-ci.com/user/languages/ruby/
29+
# Supported Ruby Versions: http://rubies.travis-ci.org/
30+
# Custom build task: http://docs.travis-ci.com/user/customizing-the-build/

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# In Progress
2+
- Introduce Continuous Integration to the project with Travis CI
3+
14
# 27/Apr/2015
25
- Remove nested expectation to make spec more understandable https://github.com/eliotsykes/rspec-rails-examples/pull/54 (Andy Waite)
36

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Hopefully this will be of help to those of you learning RSpec and Rails. If ther
4848
- [Helper Specs & Docs](#helper-specs--docs)
4949
- [Routing Specs & Docs](#routing-specs--docs)
5050
- [Enable Spring for RSpec](#enable-spring-for-rspec)
51+
- [Continuous Integration with Travis CI](#continuous-integration-with-travis-ci)
5152
- [Contributors](#contributors)
5253

5354
<!-- /MarkdownTOC -->
@@ -266,6 +267,14 @@ bin/rspec
266267
See the spring-commands-rspec README for up-to-date installation instructions:
267268
https://github.com/jonleighton/spring-commands-rspec
268269

270+
# Continuous Integration with Travis CI
271+
272+
Travis CI configuration how-to and example:
273+
- [.travis.yml](.travis.yml)
274+
- [Our Travis CI Build!](https://travis-ci.org/eliotsykes/rspec-rails-examples)
275+
- TODO: What is Continous Integration? Why have it?
276+
- TODO: Travis CI README Badge HOWTO
277+
269278
---
270279

271280
# Contributors

0 commit comments

Comments
 (0)