Set credentials for server too.

This commit is contained in:
Steve Pulec 2017-02-27 08:54:33 -05:00
parent b63618b975
commit 5a56b3a049

View File

@ -15,7 +15,7 @@ install:
- travis_retry pip install coveralls
- |
if [ "$TEST_SERVER_MODE" = "true" ]; then
moto_server -p 8086&
AWS_SECRET_ACCESS_KEY=server_secret AWS_ACCESS_KEY_ID=server_key moto_server -p 8086&
export AWS_SECRET_ACCESS_KEY=foobar_secret
export AWS_ACCESS_KEY_ID=foobar_key
fi