-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
48 lines (40 loc) · 1.21 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
machine:
timezone:
Etc/UTC
python:
version: 2.7.11
environment:
CENTRAL_REPORT_LOCATION: $CIRCLE_TEST_REPORTS
ENVIRONMENT: CI
GITHUB_PROJECT_USERNAME: $CIRCLE_PROJECT_USERNAME
GITHUB_PROJECT_REPONAME: $CIRCLE_PROJECT_REPONAME
GIT_TAGGER_EMAIL: [email protected]
BUILD_URL: https://circleci.com/gh/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BUILD_NUM
BUILD_BRANCH: $CIRCLE_BRANCH
BUILD_IDENTIFIER: 1.$CIRCLE_BUILD_NUM
BUILD_SHA: $CIRCLE_SHA1
PULL_REQUEST_NAMES: $CI_PULL_REQUESTS
INTERACT_WITH_GITHUB: yes
REMOTE_DOCKER_PATH: docker.io/ployst
DOCKER_PRE_PUSH: docker login -e \$DOCKER_EMAIL -u \$DOCKER_USER -p \$DOCKER_PASS
services:
- docker
dependencies:
override:
- cd component-builder && echo "0.0" > VERSION.txt && pip install -e .
- pip freeze
- compbuild discover # just to output what will be built
- compbuild declare
- compbuild build
post:
- pyenv local 2.7.10 3.5.2 3.6.2
test:
override:
- compbuild test
deployment:
production: # just a label; label names are completely up to you
branch: master
commands:
- compbuild tag
- compbuild release
- compbuild label stable