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

edgurgel / verk / 170
88%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2016 04:37AM UTC
Jobs 1
Files 19
Run time 1s
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
170

push

travis-ci

edgurgel
also allow poison 2.0 as dep

* also allow poison 2.0 as dep

problem: 
- some project use already poison 2.0 (or 2.1), verk installation does not work there


solution: 
- also allow poison 2.0 by relaxing dependency

```
{ :poison, "~> 1.5 or ~> 2.0"},
```

* different json decoding based on Poison version

problem: 
- Poison >2.0 changed the way it accepts `as` params
```
https://github.com/devinus/poison
If you use Poison 1.x, you have to set a module to as option in order to decode into a struct. e.g. as: Person instead of as: %Person{}. The change was introduced at 2.0.0.
```
- we want to stay compatible with Poison < 2.0 and > 2.0 

solution: 
- read the current Poison version during compilation time and switch encoding logic based on whether we are before 2.0 or after.

232 of 295 relevant lines covered (78.64%)

3.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 170.1 07 Apr 2016 04:37AM UTC 0
78.64
Travis Job 170.1
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • b18b20e2 on github
  • Prev Build on master (#169)
  • Next Build on master (#176)
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