Skip to content

Commit 894989f

Browse files
committed
GH-4: Travis file.
1 parent 234f9cc commit 894989f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sudo: required
2+
language: php
3+
4+
php:
5+
- 7.3
6+
7+
git:
8+
depth: 1
9+
10+
services:
11+
- docker
12+
13+
env:
14+
global:
15+
- DOCKER_COMPOSE_VERSION=1.22.0
16+
17+
before_install:
18+
- docker-compose up -d
19+
20+
install:
21+
- docker-compose exec web composer install
22+
- docker-compose exec web chown -R www-data:www-data build
23+
24+
before_script:
25+
- docker-compose exec web ./vendor/bin/run drupal:site-install
26+
- docker-compose exec web chmod -R 775 build/sites/default
27+
28+
script:
29+
- docker-compose exec web ./vendor/bin/grump run
30+
- docker-compose exec web ./vendor/bin/behat --strict
31+
32+
notifications:
33+
email: false

0 commit comments

Comments
 (0)