forked from nuvoleweb/ui_patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (28 loc) · 851 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
36
sudo: required
services:
- docker
- docker-compose
env:
global:
- DOCKER_COMPOSE_VERSION=1.17.1
matrix:
- DRUPAL_VERSION=8.5.x-dev
- DRUPAL_VERSION=8.6.x-dev
matrix:
allow_failures:
- env: DRUPAL_VERSION=8.6.x-dev
before_install:
- docker-compose up -d
- docker ps
install:
- docker-compose exec -u root php composer require drupal/core:$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