Skip to content

Commit 04966b1

Browse files
committed
Clean up Travis-CI instructions
1 parent f71d183 commit 04966b1

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

How to Contribute.markdown

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,24 @@ 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)
3124

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

27+
For the unit tests:
28+
29+
- Add the unit test project to `.travis.yml` so they it be run on [Travis-CI](https://travis-ci.org/hollance/swift-algorithm-club). Add a line to `.travis.yml` like this:
30+
31+
```
32+
- xcodebuild test -project ./Algorithm/Tests/Tests.xcodeproj -scheme Tests
33+
```
34+
35+
- Configure the Test project's scheme to run on Travis-CI:
36+
- Open **Product -> Scheme -> Manage Schemes...**
37+
- Uncheck **Autocreate schemes**
38+
- Check **Shared**
39+
40+
![Screenshot of scheme settings](Images/scheme-settings-for-travis.png)
41+
3442
## Want to chat?
3543

3644
This isn't just a repo with a bunch of code... If you want to learn more about how an algorithm works or want to discuss better ways of solving problems, then open a [Github issue](https://github.com/hollance/swift-algorithm-club/issues) and we'll talk!

0 commit comments

Comments
 (0)