language: php
-# the current Travis VMs are based on Ubuntu Trusty. Alas, those do not have php 5.3 available. So we keep using Precise...
-dist: precise
+dist: xenial
php:
- 5.3
- 7.0
- 7.1
- 7.2
- # hhvm is not available any more on Precise images
- #- hhvm
+ - 7.3
before_install:
# This is mandatory or the 'apt-get install' calls following will fail
$this->$method();
}
-
- function testBasicAuth()
- {
- $this->client->setCredentials('test', 'test');
- $this->client->path = $this->args['URI'].'?FORCE_AUTH=Basic';
- $this->_runtests();
- }
-
- function testDigestAuth()
- {
- if(!function_exists('curl_init'))
- {
- $this->markTestSkipped('CURL missing: cannot test digest auth functionality');
- return;
- }
- $this->client->setCredentials('test', 'test', CURLAUTH_DIGEST);
- $this->client->path = $this->args['URI'].'?FORCE_AUTH=Digest';
- $this->_runtests();
- }
}