File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
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/
Original file line number Diff line number Diff line change
1
+ # In Progress
2
+ - Introduce Continuous Integration to the project with Travis CI
3
+
1
4
# 27/Apr/2015
2
5
- Remove nested expectation to make spec more understandable https://github.com/eliotsykes/rspec-rails-examples/pull/54 (Andy Waite)
3
6
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ Hopefully this will be of help to those of you learning RSpec and Rails. If ther
48
48
- [ Helper Specs & Docs] ( #helper-specs--docs )
49
49
- [ Routing Specs & Docs] ( #routing-specs--docs )
50
50
- [ Enable Spring for RSpec] ( #enable-spring-for-rspec )
51
+ - [ Continuous Integration with Travis CI] ( #continuous-integration-with-travis-ci )
51
52
- [ Contributors] ( #contributors )
52
53
53
54
<!-- /MarkdownTOC -->
@@ -266,6 +267,14 @@ bin/rspec
266
267
See the spring-commands-rspec README for up-to-date installation instructions:
267
268
https://github.com/jonleighton/spring-commands-rspec
268
269
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
+
269
278
---
270
279
271
280
# Contributors
You can’t perform that action at this time.
0 commit comments