language: python
sudo: false
python:
  - 2.6
  - 2.7
  - 3.3
env:
    - TEST_SERVER_MODE=false
    - TEST_SERVER_MODE=true
install:
  - travis_retry pip install boto==2.45.0
  - travis_retry pip install boto3
  - travis_retry pip install .
  - travis_retry pip install -r requirements-dev.txt
  - travis_retry pip install coveralls
  - |
    if [ "$TEST_SERVER_MODE" = "true" ]; then
      moto_server -p 8086&
      export AWS_SECRET_ACCESS_KEY=foobar_secret
      export AWS_ACCESS_KEY_ID=foobar_key
    fi
script:
  - make test
after_success:
  - coveralls

language: python
sudo: false
python:
  - 2.6
  - 2.7
  - 3.3
env:
    - TEST_SERVER_MODE=false
    - TEST_SERVER_MODE=true
install:
  - travis_retry pip install boto==2.45.0
  - travis_retry pip install boto3
  - travis_retry pip install .
  - travis_retry pip install -r requirements-dev.txt
  - travis_retry pip install coveralls
  - |
    if [ "$TEST_SERVER_MODE" = "true" ]; then
      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
script:
  - make test
after_success:
  - coveralls

Set credentials for server too.
Set credentials for server too.
