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

ni / nimi-python / 2206
91%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2017 11:28PM UTC
Jobs 6
Files 17
Run time 4min
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
2206

push

travis-ci

marcoskirsch
Add support for custom types (#571)

* Initial empty custom_types lists

* Add custom types to build

* Fix syntax error

* Add nifake custom type

* Update generated files

* Add support for custom types to visa -> python type

* import custom types in to modules that need them

* Create python & ctype versions that can each be instatiated by either

* Add ctypes and python names

* Add function that takes a custom type

* Update generated files

* Need to get module name for ctypes declaration

* Import both defined names

* Add custom type matcher

* Get module name

* Add test for setting custom type

* Clean up __init__()

* Update generated files

* Add get_custom_type helper function

* Set module name based on type

* Handle custom types in mock helper

* Add get custom type test

* Update generated files

* Move get_custom_type() to find file and rename to find...

* Rename ctype_name key to ctypes_type

Also, switch python name and ctypes name to better reflect how it will look in actual APIs

* Update generated files

* Fixed wrong file

* Rename and update get_python_type_for_visa_type

* Renamed to get_python_type_for_api_type
* Updated docstring

* Fix typo

* Add comment to explain blank lines

* Don't use indirect type, just call the class what the C API needs

* Add comment about what we are doing

* Update generated files

* Fix fgen system test

1213 of 1420 relevant lines covered (85.42%)

5.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2206.1 08 Nov 2017 11:29PM UTC 0
85.07
Travis Job 2206.1
2 2206.2 08 Nov 2017 11:28PM UTC 0
85.07
Travis Job 2206.2
3 2206.3 08 Nov 2017 11:29PM UTC 0
85.07
Travis Job 2206.3
4 2206.4 08 Nov 2017 11:29PM UTC 0
85.28
Travis Job 2206.4
5 2206.5 08 Nov 2017 11:32PM UTC 0
85.07
Travis Job 2206.5
6 2206.6 08 Nov 2017 11:32PM UTC 0
85.28
Travis Job 2206.6
Source Files on build 2206
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2206
  • b621009b on github
  • Prev Build on master (#2197)
  • Next Build on master (#2223)
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