From ee1a8a40f76dda83384442d734184b203313d9e1 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 5 Jun 2019 23:14:36 -0500 Subject: [PATCH] add travis testing for selenium --- .travis.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.travis.yml b/.travis.yml index ab228a9f..d9466a99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,6 +90,38 @@ matrix: env: - MOJO_NO_JSON_XS=1 + - perl: "5.28" + addons: + apt: + packages: + - chromium-driver + env: + - TEST_SELENIUM=1 + install: + - cpan-install --deps + - cpan-install --coverage + - cpan-install Test::Mojo::Role::Selenium Selenium::Chrome + script: + - perl Makefile.PL + - make + - prove -b -j1 -r t/selenium + + # - perl: "5.28" + # addons: + # firefox: latest + # env: + # - MOZ_HEADLESS=1 + # - TEST_SELENIUM=1 + # - MOJO_SELENIUM_DRIVER=Selenium::Firefox + # install: + # - cpan-install --deps + # - cpan-install --coverage + # - cpan-install Test::Mojo::Role::Selenium Selenium::Firefox + # script: + # - perl Makefile.PL + # - make + # - prove -b -j1 -r t/selenium + allow_failures: - env: COVERAGE=1