mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Merge pull request #24 from orchardup/travis-pypi-deployment
Travis PyPi deployment
This commit is contained in:
commit
c0dbb1c2ec
30
.travis.yml
30
.travis.yml
@ -1,19 +1,23 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.6"
|
- '2.6'
|
||||||
- "2.7"
|
- '2.7'
|
||||||
- "3.2"
|
- '3.2'
|
||||||
- "3.3"
|
- '3.3'
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- python: "3.2"
|
- python: '3.2'
|
||||||
- python: "3.3"
|
- python: '3.3'
|
||||||
|
|
||||||
install: script/travis-install
|
install: script/travis-install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pwd
|
- pwd
|
||||||
- env
|
- env
|
||||||
- sekexe/run "`pwd`/script/travis $TRAVIS_PYTHON_VERSION"
|
- sekexe/run "`pwd`/script/travis $TRAVIS_PYTHON_VERSION"
|
||||||
|
deploy:
|
||||||
|
provider: pypi
|
||||||
|
user: orchard
|
||||||
|
password:
|
||||||
|
secure: M8UMupCLSsB1hV00Zn6ra8Vg81SCFBpbcRsa0nUw9kgXn9hOCESWYVHTqQ1ksWZOa8z6WMaqYtoosPKXGJQNf0wF/kEVDsMUeaZWOF/PqDkx1EwQ1diVfwlbN4/k0iX+Se7SrZfiWnJiAqiIPqToQipvLlJohqf8WwfPcVvILVE=
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
repo: orchardup/fig
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
echo 'pass a version as first argument'
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
git tag $1
|
|
||||||
git push --tags
|
|
||||||
python setup.py sdist upload
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user