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

gnosis / dex-services / 4726
31%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2020 06:15AM UTC
Jobs 1
Files 93
Run time 21s
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

13 Aug 2020 06:02AM UTC coverage: 29.006% (+0.03%) from 28.979%
4726

push

travis-pro

web-flow
Single error type (#1299)

This PR introduces a common `RejectionReason` type that implements `Reject` and `Into<Rejection>` so that it can be used with the usual Rust `?` sugar, allowing for differentiation between rejection reasons without having to create a new type for each one.

### Test Plan

Run the price estimator and check that the rejections still work:
```
$ cargo run -p price-estimator
...
$ curl -s 'http://localhost:8080/api/v1/markets/9-7/estimated-buy-amount/1?atoms=false' | jq
{
  "message": "requested base units for token with missing ERC20 info"
}
$ curl -s 'http://localhost:8080/api/v1/markets/9-DAI/estimated-buy-amount/1?atoms=false' | jq
{
  "message": "token symbol or address not found"
}
```

12327 of 48826 branches covered (25.25%)

Branch coverage included in aggregate %.

3355 of 5238 relevant lines covered (64.05%)

27658.53 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4726.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.2) 13 Aug 2020 06:15AM UTC 0
29.01
Travis Job 4726.3
Source Files on build 4726
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4726
  • cff3fd8b on github
  • Prev Build on master (#4723)
  • Next Build on master (#4732)
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

© 2026 Coveralls, Inc