Commit Graph

15 Commits

Author SHA1 Message Date
W. Trevor King 0b7efd2235 schema: Add 'test' target to the Makefile
And fill in some known-good and known-bad examples.  We can make this
as detailed as we want, but this commit just adds enough to know that:

* The full-file spec examples are valid.
* The JSON Schema can distinguish valid examples from invalid JSON.

This will help catch JSON Schema typos like those being addressed by
[1].

[1]: https://github.com/opencontainers/runtime-spec/pull/784

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-05-09 11:10:49 -07:00
W. Trevor King 550a73abb5 .travis.yml: Print TRAVIS_* environment variables
To make make debugging Travis environment issues more straightforward.

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-01-23 15:59:30 -08:00
W. Trevor King d9b7bc39b4 .travis: Convert TRAVIS_COMMIT_RANGE base...head to base..head
Work around travis-ci/travis-ci#4596 until that is fixed upstream [1].
This avoids pulling in commits from the base tip that aren't reachable
from the head tip (e.g. if master has advanced since the PR branched
off, and the PR is against master).  We only want to check commits
that are in the head branch but not in the base branch (more details
on the range syntax in [2]).

Once the Travis bug does get fixed, the shell replacement will be a
no-op.  So we don't have to worry about checks breaking once the bug
gets fixed, and can periodically poll the bug and remove the
workaround at out leisure after the fix.

[1]: https://github.com/travis-ci/travis-ci/issues/4596
[2]: http://git-scm.com/docs/gitrevisions#_specifying_ranges

Signed-off-by: W. Trevor King <wking@tremily.us>
2017-01-18 20:48:54 -08:00
Vincent Batts d4ede0d364
ci-tools: versions of golang
Add and update golang versions. Also fix install.tools target for
installing govet

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-09-08 09:52:46 -04:00
Vincent Batts a118c18db3 travis: regress on failure to produce docs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-06-01 13:30:32 -04:00
Vincent Batts c4b846c442 travis: use the Makefile targets
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-04-27 13:16:20 -04:00
Vincent Batts 4f3147d876 travis: git-validation detects travis now
The `-range` argument is not needed.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-04-13 13:35:26 -04:00
Vincent Batts f71a16622e travis: check commits for whitespace errors
af056a3e9e (r59321215)

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-04-12 09:45:02 -04:00
Mrunal Patel c506ce6fa3 Fix the build by getting rid of go get for vet
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-04-07 10:03:33 -07:00
Vincent Batts 54cd96d2fb travis: add go1.6 and work around golint
closes #350

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-03-21 14:29:37 -04:00
Mrunal Patel ca1b5727b4 Update the go version to 1.5.3
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-01-21 15:30:41 -05:00
Vincent Batts ad149f934f .tools: commit validator is a separate project
Moving this tool to https://github.com/vbatts/git-validation so that
iteration on it will not be noise for this project.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-06 10:58:14 -04:00
Antonio Murdaca f3e5c1f983 .travis.yml: add go 1.5.1, update from 1.4.2 to 1.4.3
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-29 19:04:01 +02:00
Vincent Batts 8b55acffb6 .tools: repo validation tool
Initially only a DCO validation for travis, but is set up for further
validation on commits as well.

https://github.com/opencontainers/specs/issues/90

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-09 18:17:01 -04:00
Vincent Batts 093e5e2fa3 .: adding travis file for future CI
Signed-off-by: Vincent Batts <vbatts@redhat.com>
2015-08-03 13:16:25 -04:00