-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (25 loc) · 598 Bytes
/
.travis.yml
File metadata and controls
34 lines (25 loc) · 598 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
sudo: required
language: php
php:
- 7.3
git:
depth: 1
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION=1.17.1
matrix:
- DRUPAL_VERSION=9.0.x-dev
before_install:
- docker-compose up -d
install:
- docker-compose exec -u root php composer install
- docker-compose exec -u root php chown -R www-data:www-data build
before_script:
- docker-compose exec -u www-data php ./vendor/bin/run drupal:site-install
script:
- docker-compose exec php ./vendor/bin/run drupal:phpcs
- docker-compose exec -u www-data php ./vendor/bin/phpunit
notifications:
email: false