Skip to content

Commit 148f6d1

Browse files
authored
Travis: enforce configlet fmt (exercism#1710)
* Travis: enforce configlet fmt * REVERTME test new check * Revert "REVERTME test new check" This reverts commit 0c3bfc6.
1 parent 58a689c commit 148f6d1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ matrix:
1616
- env: JOB=HOUSEKEEPING
1717
install: ./bin/fetch-configlet
1818
before_script: ./bin/check-readmes.sh
19-
script: ./bin/configlet lint .
19+
script:
20+
# May provide more useful output than configlet fmt
21+
# if JSON is not valid or items are incomplete
22+
- ./bin/configlet lint .
23+
# Verify correct formatting in config.json
24+
- ./bin/configlet fmt . && git diff --quiet
2025
allow_failures:
2126
- python: nightly
2227

0 commit comments

Comments
 (0)