mirror of
https://github.com/Findus23/devicedetector.net.git
synced 2024-09-19 15:43:46 +02:00
add gitlab CI
This commit is contained in:
parent
8305ac0b19
commit
a1fe77cda5
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
# 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.3
|
||||
|
||||
# Select what we should cache between builds
|
||||
cache:
|
||||
paths:
|
||||
- vendor/
|
||||
|
||||
before_script:
|
||||
- composer install
|
||||
- php -S localhost:9000 -t public &
|
||||
|
||||
test:
|
||||
script:
|
||||
- php update.php
|
||||
- php test.php
|
Loading…
Reference in a new issue