Skip to content

Commit 4f7dbd1

Browse files
committed
Update travis configuration
1 parent 6e06713 commit 4f7dbd1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ before_install:
1616

1717
before_script:
1818
- make docker-start
19-
- sleep 5m
19+
- sleep 4m
2020
- docker inspect -f {{.Config.Volumes}} $(docker-compose ps -q php)
2121
- ls -lah
22-
- ls -lah app
23-
- ls -lah app/vendor/apigen/apigen
22+
- ls -lah web/app
23+
- ls -lah web/app/vendor/apigen/apigen
2424

2525
script:
2626
- make travis

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ init:
2828
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
2929

3030
travis:
31-
@docker exec $(shell docker-compose ps -q php) php -r 'echo getcwd(); var_dump(file_exists("app/vendor/apigen/apigen/bin/apigen"));'
31+
@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");'
3232

3333
apidoc:
3434
@docker exec $(shell docker-compose ps -q php) app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
ports:
66
- "8000:80"
77
- "3000:443"
8-
restart: always
8+
restart: always
99
volumes:
1010
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
1111
- "./etc/ssl:/etc/ssl"

0 commit comments

Comments
 (0)