moto/.travis.yml

25 lines
622 B
YAML
Raw Normal View History

2013-03-01 03:32:52 +00:00
language: python
2014-12-28 13:37:13 +00:00
sudo: false
2013-03-01 03:32:52 +00:00
python:
- 2.7
2017-03-07 02:48:22 +00:00
- 3.6
2013-07-09 01:18:19 +00:00
env:
2017-02-27 04:40:54 +00:00
- TEST_SERVER_MODE=false
2017-02-27 04:56:50 +00:00
- TEST_SERVER_MODE=true
2013-03-01 03:32:52 +00:00
install:
2017-02-27 04:40:54 +00:00
- travis_retry pip install boto==2.45.0
2015-08-01 23:35:09 +00:00
- travis_retry pip install boto3
2014-11-30 03:57:08 +00:00
- travis_retry pip install .
- travis_retry pip install -r requirements-dev.txt
- travis_retry pip install coveralls==1.1
2017-02-27 05:02:23 +00:00
- |
if [ "$TEST_SERVER_MODE" = "true" ]; then
AWS_SECRET_ACCESS_KEY=server_secret AWS_ACCESS_KEY_ID=server_key moto_server -p 5000&
2017-02-27 05:17:01 +00:00
export AWS_SECRET_ACCESS_KEY=foobar_secret
export AWS_ACCESS_KEY_ID=foobar_key
2017-02-27 05:02:23 +00:00
fi
2013-03-11 02:34:30 +00:00
script:
2013-03-11 02:38:18 +00:00
- make test
2013-03-11 02:34:30 +00:00
after_success:
- coveralls