-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
43 lines (37 loc) · 998 Bytes
/
.gitlab-ci.yml
File metadata and controls
43 lines (37 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
test:
image: php:7.4
# cache between builds
cache:
paths:
- vendor/
before_script:
- apt-get update -yqq
- apt-get install -yqq git libcurl4-gnutls-dev
# Install PHP extensions
- docker-php-ext-install curl
# Install & enable Xdebug for code coverage reports
- pecl install xdebug-2.9.7
- docker-php-ext-enable xdebug
# Install and run Composer
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --ignore-platform-reqs
script:
- vendor/bin/phpunit --coverage-text --colors=never --configuration phpunit.xml
except:
- trigger
pages:
image: python:3.8-slim-buster
before_script:
- pip install mkdocs
- pip install mkdocs-material
# Add your custom theme if not inside a theme_dir
# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
# - pip install mkdocs-material
script:
- mkdocs build
- mv site public
artifacts:
paths:
- public
only:
- trigger