Permalink
Browse files

travis

  • Loading branch information...
1 parent 5b4f15f commit 7977139f9a14981d3aa819c781c68a11cef4ec59 lukas.bals committed Sep 26, 2016
Showing with 6 additions and 1 deletion.
  1. +4 −0 .travis.yml
  2. +1 −1 config.php
  3. +1 −0 test.php
View
@@ -0,0 +1,4 @@
+language: php
+php:
+ - '5.5'
+script: php test.php
View
@@ -13,7 +13,7 @@
*/
$config = array(
- 'token' => 'yourToken',
+ 'token' => getenv('token'), // set your token
'returnFormat' => 'array',
'endpointDomain' => 'https://api.yumpu.com/2.0/',
'endpointSearchDomain' => 'https://search.yumpu.com/2.0/',
View
@@ -23,6 +23,7 @@
// Test for the getCountries function
$getCountries = $yumpu->getCountries();
+echo $getCountries;
if (check($getCountries[state], 'getCountries')) ;
// Test for the getDocumentLanguages function

0 comments on commit 7977139

Please sign in to comment.