language: python python: - "2.6" - "2.7" - "3.4" - "3.5" - "3.6" #matrix: # allow_failures: # - python: "3.5" notifications: email: false irc: "chat.freenode.net#s3cmd" # command to install dependencies cache: directories: - $HOME/cache install: - pip install . # command to prepare tests before_install: - 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 # Start a local instance of minio before_script: - "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 # command to run tests ## Tests stopped at test 23 because minio doesn't support "quote_plus" used in signatures. script: python ./run-tests-minio.py -c .travis.s3cfg -p baseauto after_script: - killall minio