5a5a78cb |
language: python
python: |
7a782a2a |
- "2.6"
- "2.7" |
edd7c7df |
- "3.4" |
7a782a2a |
- "3.5" |
edd7c7df |
- "3.6"
#matrix:
# allow_failures:
# - python: "3.5" |
5a5a78cb |
notifications: |
7a782a2a |
email: false
irc: "chat.freenode.net#s3cmd" |
5a5a78cb |
# command to install dependencies
cache:
directories:
- $HOME/cache
install: |
7a782a2a |
- pip install . |
5a5a78cb |
# command to prepare tests
before_install: |
7a782a2a |
- mkdir -p $HOME/cache
- test ! -e $HOME/cache/minio && wget -O $HOME/cache/minio https://dl.minio.io/server/minio/release/linux-amd64/minio || echo "Minio already in cache"
- mkdir -p $HOME/minio_tmp |
5a5a78cb |
# Start a local instance of minio
before_script: |
7a782a2a |
- "export AWS_ACCESS_KEY_ID=Q3AM3UQ867SPQQA43P2F"
- "export AWS_SECRET_ACCESS_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
- "export MINIO_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F"
- "export MINIO_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG"
- chmod +x $HOME/cache/minio
- $HOME/cache/minio server $HOME/minio_tmp &
- sleep 4 # give minio some time to start |
5a5a78cb |
# command to run tests |
c98a4ecb |
## Tests stopped at test 23 because minio doesn't support "quote_plus" used in signatures. |
edd7c7df |
script: python ./run-tests-minio.py -c .travis.s3cfg -p baseauto |
5a5a78cb |
after_script: |
7a782a2a |
- killall minio |