Update travis configuration
This commit is contained in:
@@ -16,11 +16,11 @@ before_install:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- make docker-start
|
- make docker-start
|
||||||
- sleep 5m
|
- sleep 4m
|
||||||
- docker inspect -f {{.Config.Volumes}} $(docker-compose ps -q php)
|
- docker inspect -f {{.Config.Volumes}} $(docker-compose ps -q php)
|
||||||
- ls -lah
|
- ls -lah
|
||||||
- ls -lah app
|
- ls -lah web/app
|
||||||
- ls -lah app/vendor/apigen/apigen
|
- ls -lah web/app/vendor/apigen/apigen
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make travis
|
- make travis
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ init:
|
|||||||
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
|
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
|
||||||
|
|
||||||
travis:
|
travis:
|
||||||
@docker exec $(shell docker-compose ps -q php) php -r 'echo getcwd(); var_dump(file_exists("app/vendor/apigen/apigen/bin/apigen"));'
|
@docker exec $(shell docker-compose ps -q php) php -r 'echo getcwd(); var_dump(file_exists("app/vendor/apigen/apigen/bin/apigen")); var_dump(file_exists("web/app/vendor/apigen/apigen/bin/apigen");'
|
||||||
|
|
||||||
apidoc:
|
apidoc:
|
||||||
@docker exec $(shell docker-compose ps -q php) app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc
|
@docker exec $(shell docker-compose ps -q php) app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8000:80"
|
- "8000:80"
|
||||||
- "3000:443"
|
- "3000:443"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
|
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
|
||||||
- "./etc/ssl:/etc/ssl"
|
- "./etc/ssl:/etc/ssl"
|
||||||
|
|||||||
Reference in New Issue
Block a user