Skip to content

Commit

Permalink
Merge pull request #327 from pycontribs/release/1.0.8
Browse files Browse the repository at this point in the history
Release/1.0.8
  • Loading branch information
ssbarnea committed Jan 20, 2017
2 parents 2544eca + d46a3af commit 148ce2a
Show file tree
Hide file tree
Showing 31 changed files with 1,054 additions and 3,115 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ tests/settings.py
tests/test-reports-*/*
**/*.log
/.python-version
/CHANGELOG
/AUTHORS
/tests/build
64 changes: 13 additions & 51 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,20 @@ python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
install:
- pip -q --log dist/pip.log install --upgrade pip setuptools tox-travis py wheel
- python setup.py install bdist_wheel
- pip install ./dist/jira-*.whl
- pip --version
- pip -q --log dist/pip.log install --upgrade pip setuptools py
- pip --version
- pip -q --log dist/pip.log install ipython || echo "optional skipped"
- pip -q --log dist/pip.log install pytest-cache || echo "optional skipped"
- pip -q --log dist/pip.log install -r requirements.txt -r requirements-dev.txt
- pwd
script:
- travis_wait python setup.py test
- export PACKAGE_NAME=$(python setup.py --name)
- export PACKAGE_VERSION=$(python setup.py --version)
- python setup.py --version
- tox --installpkg ./dist/jira-*.whl --travis-after
after_success:
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
echo "All jobs succeeded! PUBLISHING..."
else
echo "Some jobs failed"
fi
fi
- coveralls
- travis_wait python setup.py prerelease
- requires.io update-site -t ac3bbcca32ae03237a6aae2b02eb9411045489bb -r
- make test
after_failure:
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_failed" ]; then
echo "All jobs failed"
else
echo "Some jobs failed"
fi
fi
after_script:
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
branches:
only:
- master
- develop
notifications:
email:
- pycontribs@googlegroups.com
Expand All @@ -68,16 +38,18 @@ deploy:
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
python: 2.7
condition: $TOXENV != docs
- provider: pypi
user: sorin
password:
secure: E0cjANF7SLBdYrsnWLK8X/xWznqkF0JrP/DVfDazPzUYH6ynFeneyofzNJQPLTLsqe1eKXhuUJ/Sbl+RHFB0ySo/j/7NfYd/9pm8hpUkGCvR09IwtvMLgWKp3k10NWab03o2GOkSJSrLvZofyZBGR40wwu2O9uXPCb2rvucCGbw=
distributions: sdist bdist_wheel
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
tags: true
python: 2.7
condition: $TOXENV != docs
branch: master
- provider: pypi
server: https://testpypi.python.org/pypi
Expand All @@ -88,19 +60,9 @@ deploy:
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
python: 2.7
condition: $TOXENV != docs
branch: develop
after_deploy:
- echo "Now we only have tag the changeset and push..."
- git tag $PACKAGE_VERSION -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER on $TRAVIS_BRANCH branch."
- git push -q https://$TAGPERM@github.com/pycontribs/$PACKAGE_NAME $PACKAGE_VERSION
addons:
artifacts:
debug: true
paths:
- dist/*
target_paths: $PACKAGE_NAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER-$TRAVIS_PYTHON_VERSION
working_dir: $TRAVIS_BUILD_DIR
env:
global:
- secure: fuXwQL+KHQ96XkAFl2uQc8eK8dAjrgkup46tck/UGjVpdv1PT/yHmBKrvpFjDa50ueGbtBwTdKAwhyAmYuiZCk2IYHzdvBylCZBBji2FSpaTM59CVwgkVT6tx3HHO83X0mEX6ih9TJvZD5XhX+YUjopnseRXRq3ey3JZJXWN4RM=
Expand Down

0 comments on commit 148ce2a

Please sign in to comment.