Commit Graph

9 Commits

Author SHA1 Message Date
Sarina Canelake
725e4908e3 Remove more pep8 violations 2014-11-04 07:37:41 -05:00
Ben Patterson
6bcaf61b0c Introduce new switch for paver run_quality command.
When using -p, the underlying diff-quality command will pass that
number as a value for --fail-under.

For example,
  paver run_quality -p 75

Will pass 75 into the --fail-under switch on diff-quality.

Also upgrades diff-cover in order to take advantage of this funcitonality.
2014-10-15 12:40:59 -04:00
Jesse Zoldak
d93fa17563 Lower the pep8 threshold for failing builds 2014-10-07 12:10:47 -04:00
Ben Patterson
1f196523f3 Paver: pep8/pylint violations limit switch. Fail if limit is breached.
This adds the -l switch, wherein a violations limit is passed in. For
example:
  paver run_pep8 -l 700

Will fail if more than 700 violations are found.

By default, this limit is not enforced (i.e. if the -l switch
is not passed into the command, then a limit will not be put
into effect for that run)
2014-09-30 17:38:33 -04:00
Ben Patterson
e3b40a8c46 Create shard 3 for bok-choy; handle unknown shards.
This accomplishes three things:
1. Create a 3rd bok-choy shard
2. Allow the script to run 'all' shards
3. If the script receives an unknown shard, it will pass through empty tests.

The last one (3) is intended to allow us to expand to additional shards
on our Jenkins infrastructure. If we have, for example, a 4th shard introduced,
but someone attemps to run a commit that is older (and therefore still
has 3 shards); the script will just pass-through shard '4'. This means
older commits can still get tested. In that case, the older commit
will still test all cases, because the last shard (n) is basically an
'everything else' shard.
2014-09-02 08:32:55 -04:00
Christine Lytwynec
d275107dc0 updated doctring to explain the bok-choy shards 2014-07-30 11:09:35 -04:00
Christine Lytwynec
c1da8aa7f0 use paver commands in jenkins script 2014-07-30 11:09:34 -04:00
Christine Lytwynec
c7df52c511 enable sharding of bok-choy tests 2014-07-30 11:09:34 -04:00
David Baumgold
e66b4a66b4 Move Jenkins scripts into scripts directory
with symlinks for backwards compatibility
2014-06-10 14:47:14 -04:00