Skip to content

Commit b5b6e63

Browse files
committed
CI: Adding a job for e2e tests
1 parent 411bb06 commit b5b6e63

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
sudo: false
1+
sudo: required
2+
23
dist: trusty
34

45
language: php
56

7+
services:
8+
- docker
9+
610
notifications:
711
email:
812
on_success: never
@@ -53,8 +57,15 @@ jobs:
5357
script:
5458
- ./bin/run-wp-unit-tests.sh
5559

60+
- stage: integration
61+
script:
62+
- npm install || exit 1
63+
- npm run build || exit 1
64+
- ./bin/run-e2e-tests.sh || exit 1
65+
5666
stages:
5767
- unit
68+
- integration
5869

5970
before_deploy:
6071
- npm install

0 commit comments

Comments
 (0)