-
Notifications
You must be signed in to change notification settings - Fork 120
/
circle.yml
43 lines (40 loc) · 1.35 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
#
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
# this repo has permissive fork builds set. DO NOT add any private
# information into CircleCI for this repo without first making sure
# that permissive fork builds has been turned off.
#
machine:
python:
version: 2.7.10
dependencies:
pre:
- sudo add-apt-repository ppa:tilezen/ppa -y
- sudo apt-get update
- sudo apt-get install osm2pgsql proj-data
- pip install -Ur requirements.txt
override:
- python setup.py develop
- python integration-test/__init__.py --download-only
cache_directories:
- "~/.cache/vector-datasource"
test:
override:
- pip install -U flake8
- find . -not -path '*/.eggs/*' -not -path '*/data/*' -name '*.py' | xargs flake8
- python setup.py test
- python integration-test/__init__.py
deployment:
prerelease:
branch: "master"
commands:
- pip install 'Circle-Beacon == 2.0.0'
- alert-circle mapzen documentation master $CIRCLE_TOKEN
- ./scripts/update-integration-test-coordinates.sh
- pip install awscli
- aws s3 sync ~/.cache/vector-datasource/ s3://mapzen-tiles-assets/integration-test-fixtures/ --size-only --exclude="*" --include="*.geojson"
release:
tag: /.+/
commands:
- pip install 'Circle-Beacon == 2.0.0'
- alert-circle mapzen documentation master $CIRCLE_TOKEN