From 0f0441679bcddb18bfe67b6635f5767cdd4b1980 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Fri, 14 Sep 2018 15:07:58 -0300 Subject: [PATCH] Add e2e tests on Travis CI --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 502037c5e0..b8d1f866cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,4 +41,12 @@ install: script: - if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then export CSC_IDENTITY_AUTO_DISCOVERY=false; fi + # e2e tests should be performed only on Linux + - | + if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then + export DISPLAY=:99.0 + sh -e /etc/init.d/xvfb start + sleep 3 + yarn e2e + fi - yarn release