diff --git a/.travis.yml b/.travis.yml index 6350978..38df7df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,11 @@ cache: directories: - $HOME/.composer/cache/files +# The api key is just a test key env: global: - COMPOSER_ROOT_VERSION=4.0.x-dev + - MANDRILL_API_KEY=pDqjxhMOJEZ7rqrMba107A matrix: include: diff --git a/tests/MandrillTest.php b/tests/MandrillTest.php index 8ce6faf..e54c563 100644 --- a/tests/MandrillTest.php +++ b/tests/MandrillTest.php @@ -49,7 +49,7 @@ public function testSending() $test_to = Environment::getEnv('MANDRILL_TEST_TO'); $test_from = Environment::getEnv('MANDRILL_TEST_FROM'); if (!$test_from || !$test_to) { - $this->markTestIncomplete("You must define tests environement variable: MANDRILL_TEST_TO, MANDRILL_TEST_FROM"); + $this->markTestSkipped("You must define tests environement variable: MANDRILL_TEST_TO, MANDRILL_TEST_FROM"); } MandrillHelper::registerTransport();