From 3c77d4ee1818fd44567f7f22cee81b9755b0ad7b Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 06 Jul 2019 15:17:55 +0000
Subject: [PATCH] Remove JS arrow function to increase compatibility

---
 .travis.yml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8bb4f98..6186b3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,10 +6,15 @@
   - 7.0
   - nightly
 
+addons:
+  firefox: latest
+  chrome: stable
+
 before_script:
   - 'php -S 127.0.0.1:8080 &'
   - 'nvm install stable'
-  - 'npm install casperjs'
+  - 'npm install nightwatch selenium-server chromedriver geckodriver'
 
 script:
-  - 'node_modules/casperjs/bin/casperjs test tests.js'
+# - 'node_modules/.bin/nightwatch -e chrome-headless'
+  - 'node_modules/.bin/nightwatch -e firefox-headless'

--
Gitblit v1.9.1