Skip to content

Commit

Permalink
Testing circeci tagged deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-rs committed Dec 5, 2016
1 parent 508ed33 commit 5f47969
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 5f47969

Please sign in to comment.