Skip to content

Commit

Permalink
Merge pull request #76 from DankCity/tagged-release-deploy
Browse files Browse the repository at this point in the history
Deploy tagged releases instead of merges to master
  • Loading branch information
levi-rs committed Dec 5, 2016
2 parents 508ed33 + 5f47969 commit 82cc54c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ dependencies:
override:
- pip install --upgrade pip
- pip install --upgrade tox
- pip install --upgrade python-coveralls
- pip install --upgrade coveralls

test:
override:
- tox -r
post:
- coveralls
- mkdir -p $CIRCLE_TEST_REPORTS/dankbot
- cp .tox/py3/junit.xml $CIRCLE_TEST_REPORTS/dankbot
- cp .tox/lint/flake8.txt $CIRCLE_TEST_REPORTS/dankbot
- cp -R htmlcov $CIRCLE_TEST_REPORTS/dankbot
- cp coverage.xml $CIRCLE_TEST_REPORTS/dankbot
- coveralls
- mkdir -p $CIRCLE_TEST_REPORTS/dankbot
- cp .tox/py3/junit.xml $CIRCLE_TEST_REPORTS/dankbot
- cp .tox/lint/flake8.txt $CIRCLE_TEST_REPORTS/dankbot
- cp -R htmlcov $CIRCLE_TEST_REPORTS/dankbot
- cp coverage.xml $CIRCLE_TEST_REPORTS/dankbot

deployment:
production:
branch: notmaster
release:
tag: /[0-9]+(\.[0-9]+)*/
owner: DankCity
commands:
- ssh $DEPLOY_HOST $DEPLOY_PATH/deploy.sh
- echo "Mock deploy of tagged release"

0 comments on commit 82cc54c

Please sign in to comment.