Update travis configuration

This commit is contained in:
Vincent Letourneau
2017-07-29 15:14:02 +02:00
parent 6e067132ee
commit 4f7dbd126f
3 changed files with 5 additions and 5 deletions

View File

@@ -16,11 +16,11 @@ before_install:
before_script:
- make docker-start
- sleep 5m
- sleep 4m
- docker inspect -f {{.Config.Volumes}} $(docker-compose ps -q php)
- ls -lah
- ls -lah app
- ls -lah app/vendor/apigen/apigen
- ls -lah web/app
- ls -lah web/app/vendor/apigen/apigen
script:
- make travis

View File

@@ -28,7 +28,7 @@ init:
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
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:
@docker exec $(shell docker-compose ps -q php) app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc

View File

@@ -5,7 +5,7 @@ services:
ports:
- "8000:80"
- "3000:443"
restart: always
restart: always
volumes:
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
- "./etc/ssl:/etc/ssl"