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

Commit 4ad46b6

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

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ matrix:
5252

5353
script:
5454
- docker-compose --version
55-
- docker-compose pull --ignore-pull-failures || true
56-
- docker-compose build --pull
57-
- docker-compose up -d
55+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml pull --ignore-pull-failures || true
56+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml build --pull
57+
- docker-compose -f docker-compose.yml -f etc/travis/docker-compose.override.yml up -d
5858

5959
- sleep 60
6060

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

6363
- curl http://localhost/
6464
-
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: '3.4'
2+
3+
services:
4+
php:
5+
volumes:
6+
- php-data:/home/www-data/vendor:rw,cached
7+
8+
nodejs:
9+
volumes:
10+
- node-data:/home/node/application/node-modules:rw,cached
11+
ports:
12+
- "35729:35729"
13+
- "8080:8080"
14+
15+
volumes:
16+
php-data:
17+
node-data:

0 commit comments

Comments
 (0)