Skip to content

Commit 0df7cc1

Browse files
author
mattallan
committed
Update travis.yml to run e2e tests
1 parent 93a689a commit 0df7cc1

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.travis.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
11
language: php
22
os: linux
33
dist: xenial
4-
sudo: false
54

65
notifications:
76
email: false
87

8+
services:
9+
- docker
10+
911
php:
1012
- 7.0
1113

14+
matrix:
15+
fast_finish: true
16+
include:
17+
- name: "Coding standard check"
18+
- name: "E2E tests"
19+
script:
20+
- npm install jest --global
21+
- npm run docker:up
22+
- npm run test:e2e
23+
after_script:
24+
- npm run docker:down
25+
1226
branches:
1327
only:
1428
- master
1529

30+
before_install:
31+
- nvm install lts/erbium
32+
- nvm install 10
33+
1634
install:
35+
- npm install
1736
- composer install
1837

1938
script:

0 commit comments

Comments
 (0)