Skip to content

Commit b21dafa

Browse files
committed
Merge pull request #43 from intercom/dehora/circleci
Use CircleCi to build and test
2 parents 96e4b68 + ba746b0 commit b21dafa

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Beta PHP bindings for the Intercom API (https://api.intercom.io).
44

55
[API Documentation](https://api.intercom.io/docs)
66

7+
[![Build Status](https://circleci.com/gh/intercom/intercom-php.png)](https://circleci.com/gh/intercom/intercom-php)
8+
9+
710
## Installation
811

912
The API client can be installed via [Composer](https://github.com/composer/composer). When a final public release is available it will be added to the [Packagist](https://packagist.org/) repository. For now you'll have to add the following to a composer.json file in the project root:

circle.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
test:
2+
override:
3+
- phpunit
4+
5+
machine:
6+
php:
7+
version: 5.5.11

tests/Intercom/IntercomBasicAuthClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testAuthIsSet()
3636
function testGetServiceDescriptionFromFile()
3737
{
3838
$client = new IntercomBasicAuthClient($this->config);
39-
$sd = $client->getServiceDescriptionFromFile(__DIR__ . '/../../src/intercom/Service/config/intercom_v3.json');
39+
$sd = $client->getServiceDescriptionFromFile(__DIR__ . '/../../src/Intercom/Service/config/intercom_v3.json');
4040
$this->assertInstanceOf('Guzzle\Service\Description\ServiceDescription', $sd);
4141
}
4242

0 commit comments

Comments
 (0)