Skip to content

Commit 8154b26

Browse files
committed
.travis.yml: Rebuild schema-fs in the Travis tests
And error out if that fails. 'make schema-fs' is in before_install, since things are really broken in that case and we want to error the build exit immediately [1]. If someone forgot to run schema-fs, that's less serious and we only want to fail the build (and still run the other tests) [1]. [1]: https://docs.travis-ci.com/user/customizing-the-build/#Breaking-the-Build Signed-off-by: W. Trevor King <[email protected]>
1 parent 3751369 commit 8154b26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ before_install:
1616
- go get -u github.com/alecthomas/gometalinter
1717
- gometalinter --install
1818
- go get -t -d ./...
19+
- make schema-fs
1920

2021
install: true
2122

2223
script:
24+
- git diff-files --exit-code
2325
- env | grep TRAVIS_
2426
- make .gitvalidation
2527
- make lint

0 commit comments

Comments
 (0)