mirror of
https://github.com/Findus23/devicedetector.net.git
synced 2024-09-19 15:43:46 +02:00
19 lines
408 B
YAML
19 lines
408 B
YAML
# This file is a template, and might need editing before it works on your project.
|
|
# Select image from https://hub.docker.com/_/php/
|
|
image: chialab/php:7.4
|
|
|
|
# Select what we should cache between builds
|
|
cache:
|
|
paths:
|
|
- vendor/
|
|
services:
|
|
- redis:latest
|
|
|
|
before_script:
|
|
- composer install
|
|
- php -S localhost:9000 -t public >/dev/null 2>/dev/null &
|
|
|
|
test:
|
|
script:
|
|
- php update.php
|
|
- php test.php
|