From 0df7cc1cba9a510ba0b7565e981941f105fb9d9b Mon Sep 17 00:00:00 2001 From: mattallan Date: Tue, 7 Jul 2020 13:25:18 +1000 Subject: [PATCH] Update travis.yml to run e2e tests --- .travis.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 04196db5..e75ea99a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,38 @@ language: php os: linux dist: xenial -sudo: false notifications: email: false +services: + - docker + php: - 7.0 +matrix: + fast_finish: true + include: + - name: "Coding standard check" + - name: "E2E tests" + script: + - npm install jest --global + - npm run docker:up + - npm run test:e2e + after_script: + - npm run docker:down + branches: only: - master +before_install: + - nvm install lts/erbium + - nvm install 10 + install: + - npm install - composer install script: