diff options
author | Elmer Thomas <elmer@thinkingserious.com> | 2016-03-20 16:44:36 -0700 |
---|---|---|
committer | Elmer Thomas <elmer@thinkingserious.com> | 2016-03-20 16:44:36 -0700 |
commit | 123bfd855e51a5d7dfd5014886c712cb2d112f16 (patch) | |
tree | fbebe9d26a17a3e8381f06b6743fb1ab84918eb2 /test | |
parent | 316bfd6e04eeafe4b6a782a1c0f69580ad090fd8 (diff) | |
download | php-http-client-123bfd855e51a5d7dfd5014886c712cb2d112f16.zip php-http-client-123bfd855e51a5d7dfd5014886c712cb2d112f16.tar.gz php-http-client-123bfd855e51a5d7dfd5014886c712cb2d112f16.tar.bz2 |
Travis fix
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/ConfigTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/ConfigTest.php b/test/unit/ConfigTest.php index 3d8ff7c..c9ab0db 100644 --- a/test/unit/ConfigTest.php +++ b/test/unit/ConfigTest.php @@ -8,7 +8,11 @@ class ConfigTest_Config extends PHPUnit_Framework_TestCase protected function setUp() { - $this->base_path = basename(__DIR__).'../..'; + if(getenv('TRAVIS') { + $this->base_path = '/home/travis/build/sendgrid/php-http-client/'; + } else { + $this->base_path = basename(__DIR__).'../..'; + } $this->config_filename = '.env_sample'; $this->config = new SendGrid\Config($this->base_path, $this->config_filename); } |