forked from nuvoleweb/drupal-behat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 895 Bytes
/
.travis.yml
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
services:
- docker
env:
matrix:
- DRUPAL_VERSION=8.8.x-dev
- DRUPAL_VERSION=8.9.x-dev
- DRUPAL_VERSION=9.0.x-dev
- DRUPAL_VERSION=9.1.x-dev
matrix:
allow_failures:
- env: DRUPAL_VERSION=9.0.x-dev
- env: DRUPAL_VERSION=9.1.x-dev
before_install:
- cp .env.dist .env
- docker-compose up -d
- docker ps
install:
- docker-compose exec -u root php composer require drupal/core-dev:$DRUPAL_VERSION --dev --prefer-dist
before_script:
- docker-compose exec -u root php ./vendor/bin/run drupal:site-setup
- docker-compose exec -u root php ./vendor/bin/run drupal:site-install
- docker-compose exec -u root php chown -R www-data:www-data build
script:
- docker-compose exec -u root php ./vendor/bin/grumphp run
- docker-compose exec -u root php ./vendor/bin/phpunit
- docker-compose exec -u root php ./vendor/bin/behat
notifications:
email: false