Comments (3)
Paging @brntbeer!
from docs-travis-ci-com.
I'm the worst. sorry for majorly dropping the ball on this.
For a guide / walkthrough on this, i think the most important piece is: what is the goal? For me, the goal isn't really to teach someone programming (though they'll need to know a bit per language), it isn't to teach someone how to use Git. It's to teach them WHY you want testing and how EASY travis is. I guess my idea is as follows:
First run
- fork
travis-ci/example-ruby
or similar repository - Connect travis-ci to this repository
- (Somehow) get the student to open a pull request, maybe something as simple as changing the output of something to include their name? The problem here is multiple people forking and updating and offering PRs. Probably need to ensure they send the PR to themselves, NOT back to
travis-ci/example-ruby
- Tests will fail
- student updates code to fix test
- Tests pass, merge PR. 🎉
The guide on the travis docs site will guide them through this, describing what to do. In a perfect world with infinite time, the answers for what to do for the failed tests aren't immediately viewable. I'd think the answers to make the tests pass are sort of just hidden on the page. "Click here to view answers" or something similar.
By the end of the guide, the student will have hooked up travis to a repository of their liking, see what failing tests look like (and maybe the guide describes why tests are important?), and how changes are reflected / updated back in the PR for passing tests.
from docs-travis-ci-com.
Alternatively you just have a separate example quickstart repo with broken code, missing ';' whatever, that you know will fail. In the quickstart you tell people how to fix it so it passes.
from docs-travis-ci-com.
Related Issues (20)
- https://story.snapchat.com/@l3454?sender-web-id=24c89328-2735-4843-936c-251f203b4cd1&device=true
- https://story.snapchat.com/l3454
- GMRIGHT2 crystal
- test HOT 2
- Optional
- Unclear description about the number of Matrix build jobs HOT 1
- AAMM1986
- H
- Missing list of available PHP versions
- Wallet address
- Travis HOT 1
- oof
- * Before: https://www.opengraph.xyz/url/https%3A%2F%2Fwww.writethedocs.org%2Fnewsletter%2F/
- Tree
- rotsen11
- Close
- https://anopic.net/J5ywVHCqwiYMFgriajHmpl9ZE0UVTtmSIHW8ZGbT.jpg
- https://anopic.net/LFNseVGx4u4ZbZ1mRPhhMbhLyTXnh1ERZqerYDUt.jpg
- My wealth Wilbert
- SonarCloud.io will require soon Java 17 JRE to run code scan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-travis-ci-com.