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

codetheweb / tuyapi / 416
92%
master: 58%

Build:
Build:
LAST BUILD BRANCH: renovate/xo-1.x
DEFAULT BRANCH: master
Ran 16 Jun 2019 06:31PM UTC
Jobs 3
Files 5
Run time 11s
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
416

push

travis-ci

codetheweb
Protocol 3.3 and encrypted discovery (#214)

* Add check for set resolver

* Don't emit event on set ACK

* Don't emit event on set ACK

* Hacked in support for protocol 3.3 and new UDP broadcast

* MessageParser.decode now attempts to parse JSON after decryption
Cipher.decrypt now always outputs a string, as MessageParser handles JSON parsing
Updated cipher tests to account for this API change
Tests now pass

* Rollback cipher changes for now -- saving breaking changes for v6.0.0
Minor version bump to v5.1.0 as a result of the added protocol support

* Fixed 3.1 producing a buffer on decryption failure
Fixed 3.3 crc being taken before the payload is written

* Removed debug used during testing

* Removed redundant try catch block, as it throws the errors it catches

* Moved some shared code from encode31() and encode33() to shared code path in encode()

* Updated tests for improved coverage, including 3.3 protocol code paths

* Refactored out encode31 and encode33 entirely as their differences could be contained to payload treatment

* Ensure that version is a string
Switched constructor to terse defaults pattern

* Moved UDP key to its own file
Added note about using protocol 3.3 without find()

110 of 119 branches covered (92.44%)

Branch coverage included in aggregate %.

84 of 84 new or added lines in 3 files covered. (100.0%)

284 of 312 relevant lines covered (91.03%)

98.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 416.1 16 Jun 2019 06:31PM UTC 0
91.42
Travis Job 416.1
2 416.2 16 Jun 2019 06:31PM UTC 0
91.42
Travis Job 416.2
3 416.3 16 Jun 2019 06:31PM UTC 0
91.42
Travis Job 416.3
Source Files on build 416
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #416
  • ab5c85e5 on github
  • Prev Build on development (#409)
  • Next Build on development (#417)
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