Skip to content
This repository was archived by the owner on Mar 7, 2020. It is now read-only.

Commit 11eeb03

Browse files
committed
try docker volumes to avoid issues with file perms
1 parent 1a92dd5 commit 11eeb03

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ matrix:
5151
- while sudo lsof -Pi :3306 -sTCP:LISTEN -t; do sleep 1; done
5252

5353
script:
54+
- id
5455
- docker-compose --version
55-
- docker-compose pull --ignore-pull-failures || true
56-
- docker-compose build --pull
57-
- docker-compose up -d
56+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml pull --ignore-pull-failures || true
57+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml build --pull
58+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml up -d
5859

5960
- sleep 60
6061

61-
- docker-compose logs --no-color --tail=10000
62+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml logs --no-color --tail=100000
6263

6364
- curl http://localhost/
6465
-
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: '3.4'
2+
3+
services:
4+
php:
5+
build:
6+
args:
7+
- USER_ID=2000
8+
9+
nodejs:
10+
build:
11+
args:
12+
- USER_ID=2000

0 commit comments

Comments
 (0)