Skip to content

Commit

Permalink
add travis testing for selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
preaction committed Jun 6, 2019
1 parent 81b8e5a commit ee1a8a4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ee1a8a4

Please sign in to comment.