• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DavidCain / mitoc-trips / 261
86%

Build:
DEFAULT BRANCH: master
Ran 21 Oct 2019 06:43AM UTC
Jobs 1
Files 145
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
261

push

travis-ci

DavidCain
Add an API route that returns program leaders

The route that returns all leaders by activity is going to be removed!
The front end does not need to know all leaders for all activities when
creating a trip. Instead, it should only need to know the leaders who
can be used for a single trip: After setting the trip's program, we can
fetch a list of valid leaders. This should all happen in the background
before getting to the leader multi-select.

This should provide a small performance boost to the front end. Most
importantly, it will aid in future modifications to leader eligibility.
For instance, we may wish to have a separate enumeration of leaders able
to create trips for the MITOC Rock Program (instead of just letting all
leaders with a rating lead trips). By asking the back end "who can lead
MRP trips?" we move the complexity away from the front end.

Lastly, the route for enumerating leaders is no longer used by
mitoc.mit.edu: we can make this new route available only to logged-in
users (and start deprecating the old route).

829 of 1492 branches covered (55.56%)

Branch coverage included in aggregate %.

5983 of 7650 relevant lines covered (78.21%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 261.1 (GEAR_DATABASE_USER='travis' GEAR_DATABASE_PASSWORD='') 21 Oct 2019 06:43AM UTC 0
74.51
Travis Job 261.1
Source Files on build 261
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #261
  • e780409d on github
  • Prev Build on master (#260)
  • Next Build on master (#262)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc