Skip to content

Commit

Permalink
Merge pull request martin-helmich#21 from martin-helmich/feature/travis
Browse files Browse the repository at this point in the history
Configure travis build
  • Loading branch information
martin-helmich authored Mar 10, 2018
2 parents e5b9cff + d555eda commit 05d7eb3
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sudo: required
services:
- docker
env:
- TYPO3_VERSION=6.2
- TYPO3_VERSION=7.6
- TYPO3_VERSION=8.7
- TYPO3_VERSION=9.1

script:
- cd $TYPO3_VERSION
- docker-compose build
- docker-compose up -d
- sleep 10
- curl -vf http://localhost/typo3/install/
31 changes: 31 additions & 0 deletions 6.2/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"
services:
typo3:
build: .
ports:
- "80:80"
volumes:
- fileadmin:/var/www/html/fileadmin
- typo3conf:/var/www/html/typo3conf
- uploads:/var/www/html/uploads
networks:
- backend
database:
image: mysql:5.7
command:
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
environment:
- "MYSQL_USER=${MYSQL_USER:-typo3}"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD:-password}"
- "MYSQL_DATABASE=${MYSQL_DATABASE:-typo3}"
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
networks:
- backend
volumes:
database:
fileadmin:
typo3conf:
uploads:
networks:
backend:
31 changes: 31 additions & 0 deletions 7.6/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"
services:
typo3:
build: .
ports:
- "80:80"
volumes:
- fileadmin:/var/www/html/fileadmin
- typo3conf:/var/www/html/typo3conf
- uploads:/var/www/html/uploads
networks:
- backend
database:
image: mysql:5.7
command:
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
environment:
- "MYSQL_USER=${MYSQL_USER:-typo3}"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD:-password}"
- "MYSQL_DATABASE=${MYSQL_DATABASE:-typo3}"
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
networks:
- backend
volumes:
database:
fileadmin:
typo3conf:
uploads:
networks:
backend:
31 changes: 31 additions & 0 deletions 8.7/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"
services:
typo3:
build: .
ports:
- "80:80"
volumes:
- fileadmin:/var/www/html/fileadmin
- typo3conf:/var/www/html/typo3conf
- uploads:/var/www/html/uploads
networks:
- backend
database:
image: mysql:5.7
command:
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
environment:
- "MYSQL_USER=${MYSQL_USER:-typo3}"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD:-password}"
- "MYSQL_DATABASE=${MYSQL_DATABASE:-typo3}"
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
networks:
- backend
volumes:
database:
fileadmin:
typo3conf:
uploads:
networks:
backend:
31 changes: 31 additions & 0 deletions 9.1/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"
services:
typo3:
build: .
ports:
- "80:80"
volumes:
- fileadmin:/var/www/html/fileadmin
- typo3conf:/var/www/html/typo3conf
- uploads:/var/www/html/uploads
networks:
- backend
database:
image: mysql:5.7
command:
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
environment:
- "MYSQL_USER=${MYSQL_USER:-typo3}"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD:-password}"
- "MYSQL_DATABASE=${MYSQL_DATABASE:-typo3}"
- "MYSQL_RANDOM_ROOT_PASSWORD=yes"
networks:
- backend
volumes:
database:
fileadmin:
typo3conf:
uploads:
networks:
backend:

0 comments on commit 05d7eb3

Please sign in to comment.