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

google / go-jsonnet / 996
44%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2020 03:29PM UTC
Jobs 8
Files 39
Run time 12min
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

08 Sep 2020 03:29PM UTC coverage: 81.57% (+4.4%) from 77.156%
996

push

travis-ci

sbarzowski
Anonymous Import Locations

We used to treat dummy paths like <stdin>, <std>, <extvar> as
real import locations, which causes obvious problem for importers.

After this change we consistently pass "" (an empty string) as location
for non-imported paths.

We exposed new functions to properly handle all paths.

The first function family, EvaluateFile* which allow evaluating
a Jsonnet program at a specified importable path. It should
be used in most cases.

The second function family, EvaluateAnonymousSnippet* allows evaluating
a snippet without an importable path. It should be used for situations
like the code passed as a commandline argument, stdin, etc.

The old function family, EvaluateSnippet* is now deprecated, but
works the same as before, i.e. the passed filenames are treated
as imported paths.

Changes are required to custom importers to make sure they satisfy
the refined contract.

Fixes #329.

87 of 87 new or added lines in 6 files covered. (100.0%)

7024 of 8611 relevant lines covered (81.57%)

41416.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 996.1 (PYTHON_COMMAND=python) 08 Sep 2020 03:29PM UTC 0
81.57
Travis Job 996.1
2 996.2 (PYTHON_COMMAND=python) 08 Sep 2020 03:29PM UTC 0
81.57
Travis Job 996.2
3 996.3 (PYTHON_COMMAND=python) 08 Sep 2020 03:29PM UTC 0
81.57
Travis Job 996.3
4 996.4 (PYTHON_COMMAND=python) 08 Sep 2020 03:29PM UTC 0
81.57
Travis Job 996.4
5 996.5 (PYTHON_COMMAND=python3) 08 Sep 2020 03:32PM UTC 0
81.57
Travis Job 996.5
6 996.6 (PYTHON_COMMAND=python3 GOARCH=386 CGO_ENABLED=1 SKIP_PYTHON_BINDINGS_TESTS=1) 08 Sep 2020 03:30PM UTC 0
81.57
Travis Job 996.6
7 996.7 (PYTHON_COMMAND=python3) 08 Sep 2020 03:30PM UTC 0
81.57
Travis Job 996.7
8 996.8 (PYTHON_COMMAND=python) 08 Sep 2020 03:33PM UTC 0
81.57
Travis Job 996.8
Source Files on build 996
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #996
  • b70cbd44 on github
  • Prev Build on master (#990)
  • Next Build on master (#1001)
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