Skip to content

Commit 6f8badd

Browse files
author
Chris Pilcher
committed
Travis: adding contribution guidelines for Travis-CI test projects
1 parent 2e7e1e8 commit 6f8badd

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

How to Contribute.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Want to help out with the Swift Algorithm Club? Great!
66

77
Take a look at the [list](README.markdown). Any algorithms or data structures that don't have a link yet are up for grabs.
88

9-
New algorithms and data structures are always welcome (even if they aren't on the list).
9+
New algorithms and data structures are always welcome (even if they aren't on the list).
1010

11-
We're always interested in improvements to existing implementations and better explanations. Suggestions for making the code more Swift-like or to make it fit better with the standard library.
11+
We're always interested in improvements to existing implementations and better explanations. Suggestions for making the code more Swift-like or to make it fit better with the standard library.
1212

1313
Unit tests. Fixes for typos. No contribution is too small. :-)
1414

@@ -21,6 +21,13 @@ To keep this a high quality repo, please follow this process when submitting you
2121
3. Write an explanation of how the algorithm works. Include **plenty of examples** for readers to follow along. Pictures are good. Take a look at [the explanation of quicksort](Quicksort/) to get an idea.
2222
4. Include your name in the explanation, something like *Written by Your Name* at the end of the document. If you wrote it, you deserve the credit and fame.
2323
5. Add a playground and/or unit tests.
24+
- Add unit test projects to `.travis.yml` so they will be run on [Travis-CI](https://travis-ci.org/hollance/swift-algorithm-club)
25+
- `- xcodebuild test -project ./Algorithm/Tests/Tests.xcodeproj -scheme Tests`
26+
- Configure scheme to run on Travis-CI
27+
- Open `Product` -> `Scheme` -> `Manage Schemes ...`
28+
- Uncheck `Autocreate schemes`
29+
- Check `Shared`
30+
- [Screenshot of scheme settings](/images/scheme-settings-for-travis.png)
2431

2532
Just so you know, I will probably edit your text and code for grammar etc, just to ensure a certain level of polish.
2633

Images/scheme-settings-for-travis.png

68.7 KB
Loading

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,5 @@ Other algorithm repositories:
200200
## License
201201

202202
All content is licensed under the terms of the MIT open source license.
203+
204+
[![Build Status](https://travis-ci.org/hollance/swift-algorithm-club.svg)](https://travis-ci.org/hollance/swift-algorithm-club)

0 commit comments

Comments
 (0)