Skip to content

Commit 6e53d62

Browse files
kazuhitoyokoiknolleary
authored andcommitted
Add handling to modify swagger.json for Travis CI
1 parent 6e1f5b3 commit 6e53d62

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,3 +16,5 @@ before_script:
1616
- docker pull swaggerapi/petstore
1717
- docker run -d -e SWAGGER_URL=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
1818
- npm install -g istanbul coveralls
19+
- jq '.schemes=["http"]' samples/swagger.json > samples/tmp
20+
- mv samples/tmp samples/swagger.json

0 commit comments

Comments
 (0)