forked from DataDog/dd-trace-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
43 lines (40 loc) · 1.19 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
machine:
services:
- docker
environment:
TEST_DATADOG_INTEGRATION: 1
CASS_DRIVER_NO_EXTENSIONS: 1
AGENT_BUILD_PATH: "/home/ubuntu/agent"
post:
- pyenv global 2.7.12 3.4.4 3.5.2 3.6.1
dependencies:
pre:
# we should use an old docker-compose because CircleCI supports
# only docker-engine==1.9
- pip install docker-compose==1.7.1
- sudo apt-get install libmemcached-dev # required for pylibmc
test:
override:
- rake test_parallel:
parallel: true
deployment:
# CircleCI is configured to provide VERSION_SUFFIX=$CIRCLE_BRANCH$CIRCLE_BUILD_NUM
dev:
# build only the nightly package
branch: /(master)/
commands:
- pip install mkwheelhouse sphinx
- S3_DIR=trace-dev rake release:wheel
experimental:
# build the develop branch releasing development docs
branch: /(develop)/
commands:
- pip install mkwheelhouse sphinx
- S3_DIR=trace-dev rake release:wheel
- S3_DIR=trace-dev rake release:docs
unstable:
# nullify VERSION_SUFFIX to deploy the package with its public version
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- pip install mkwheelhouse sphinx
- S3_DIR=trace rake release:docs