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

buildtesters / buildtest / 525
76%

Build:
DEFAULT BRANCH: devel
Ran 08 Jun 2020 02:21AM UTC
Jobs 6
Files 24
Run time 1min
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
525

push

travis-ci-com

web-flow
Buildspec commands - view, edit, find (#313)

* adding 'buildtest buildspec' command for operations on buildspec files.
There are four subcommands 'find', 'view', 'edit', 'check'. The
find will retrieve search all yml files from available repos and present
them in table format. There will be a buildspec.cache file in $HOME/.buildtest
which is used to store buildspec metadata during the find process.
The 'view' and 'edit' command are used for viewing or editing a buildspec.
The check command is not implemented yet.

* Bug in BuildspecParser when passing invalid yaml file due to key error.
We now safely search keys using get method from dictionary.
The 'buildtest buildspec edit' will allow user to edit their file in
editor and after quiting file, buildtest will validate buildspec
using BuildspecParser. If there are any error's a message will
be printed to screen and user can press any key and it will open an
editor. This allows user interactive development of buildspec with
validation. Once validation succeeds, buildtest will terminate.
Print invalid buildspecs to current directory in file buildspec.error
which keeps track of buildspec and error message. This file could be
printed nicely going forward.
Remove 'buildtest buildspec check' command for now, we are already
checking buildspec during the initial find.
Now we can invoke BuildspecParser in try/except block to validate
a buildspec, if no exception is raised that means buildspec is valid
otherwise SystemExit or ValidationError will be raised.

* column align buildtest commands when running buildtest --help.

156 of 359 branches covered (43.45%)

Branch coverage included in aggregate %.

730 of 1221 relevant lines covered (59.79%)

3.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 525.1 (LMOD_VERSION=6.6.2) 08 Jun 2020 02:21AM UTC 0
56.32
Travis Job 525.1
2 525.2 (LMOD_VERSION=7.8.2) 08 Jun 2020 02:21AM UTC 0
56.32
Travis Job 525.2
3 525.3 (LMOD_VERSION=6.6.2) 08 Jun 2020 02:21AM UTC 0
56.32
Travis Job 525.3
4 525.4 (LMOD_VERSION=7.8.2) 08 Jun 2020 02:21AM UTC 0
56.32
Travis Job 525.4
5 525.5 (LMOD_VERSION=6.6.2) 08 Jun 2020 02:21AM UTC 0
56.66
Travis Job 525.5
6 525.6 (LMOD_VERSION=7.8.2) 08 Jun 2020 02:23AM UTC 0
56.66
Travis Job 525.6
Source Files on build 525
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #525
  • 86f58d51 on github
  • Prev Build on devel (#522)
  • Next Build on devel (#527)
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