From 0bd33d6f00f135abfd2acd1cc981afcfb0a2f0a3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 04 May 2019 13:08:27 +0000
Subject: [PATCH] Switch to Nightwatch.js for browser tests

---
 .travis.yml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3b2dc96..399c72f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,12 +6,15 @@
   - 7.0
   - nightly
 
-sudo: required
+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 tests.js'
+  - 'node_modules/.bin/nightwatch -e chrome-headless'
+  - 'node_modules/.bin/nightwatch -e firefox-headless'

--
Gitblit v1.9.1