forked from swagger-api/swagger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from swagger-api/master
update swagger-ui
- Loading branch information
Showing
59 changed files
with
1,872 additions
and
12,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
sudo: false | ||
language: node_js | ||
services: | ||
- docker | ||
node_js: | ||
- '4.2' | ||
install: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- npm i -g jshint | ||
- npm install | ||
env: | ||
- DOCKER_IMAGE_NAME=swaggerapi/swagger-ui | ||
after_success: | ||
- if [ $DOCKER_HUB_USERNAME ]; then | ||
docker login --email=$DOCKER_HUB_EMAIL --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD; | ||
docker build -t $DOCKER_IMAGE_NAME .; | ||
if [ "$TRAVIS_TAG" != "master" && -z "$TRAVIS_TAG"]; then | ||
docker tag $DOCKER_IMAGE_NAME $DOCKER_IMAGE_NAME:$TRAVIS_TAG; | ||
fi; | ||
|
||
docker push $DOCKER_IMAGE_NAME; | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
FROM alpine:3.3 | ||
FROM alpine:3.4 | ||
|
||
MAINTAINER Roman Tarnavski | ||
|
||
RUN apk add --update nginx | ||
RUN mkdir -p /run/nginx | ||
|
||
COPY nginx.conf /etc/nginx/ | ||
ADD ./dist/ /usr/share/nginx/html | ||
|
||
EXPOSE 8080 | ||
|
||
CMD nginx -g 'daemon off;' | ||
CMD exec nginx -g 'daemon off;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"name": "swagger-api/swagger-ui", | ||
"description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API", | ||
"keywords": [ | ||
"Swagger", | ||
"OpenAPI", | ||
"specification", | ||
"documentation", | ||
"API", | ||
"UI" | ||
], | ||
"homepage": "http://swagger.io", | ||
"license": "Apache-2.0", | ||
"authors": [ | ||
{ | ||
"name": "Tony Tam", | ||
"email": "fehguy@gmail.com" | ||
}, | ||
{ | ||
"name": "Mohsen Azimi", | ||
"email": "me@azimi.me" | ||
} | ||
] | ||
} | ||
"name": "swagger-api/swagger-ui", | ||
"description": "Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API", | ||
"keywords": [ | ||
"Swagger", | ||
"OpenAPI", | ||
"specification", | ||
"documentation", | ||
"API", | ||
"UI" | ||
], | ||
"homepage": "http://swagger.io", | ||
"license": "Apache-2.0", | ||
"authors": [ | ||
{ | ||
"name": "Tony Tam", | ||
"email": "fehguy@gmail.com" | ||
}, | ||
{ | ||
"name": "Mohsen Azimi", | ||
"email": "me@azimi.me" | ||
} | ||
] | ||
} |
Oops, something went wrong.