# This is a bit weird since this is really a js project,
# but since we're using sabredav for integration testing
# and since travis doesn't support multiple languages
# and since travis additionally always installs a base node.js,
# the easiest thing to do is pretend to be php.
language: php
php:
  - "7.2"
before_install:
  - "nvm install 8.14.0"
install: npm install
script: npm test

# WebDAV, CalDAV, and CardDAV client for nodejs and the browser. - https://github.com/lambdabaa/dav
#
# Author: Georgy Berdyshev
#

language: node_js
sudo: required
env:
  - php_version: 7.2
node_js:
  - "8.11.1"
before_install:
  - sudo add-apt-repository "deb [arch=amd64] http://ppa.launchpad.net/ondrej/php/ubuntu $(lsb_release -cs) main"
  - sudo apt-get update
  - 'sudo apt-get -y --allow-unauthenticated install php${php_version}-cli php${php_version}-sqlite3'
  - "nvm install 8.14.0"
install: npm install
script: npm test

Update TravisCI configuration to use Node.js and install PHP.
Update TravisCI configuration to use Node.js and install PHP.
