Skip to content

Commit 75edaec

Browse files
committed
Initial commit
0 parents  commit 75edaec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2341
-0
lines changed

.circleci/config.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/python:3.5
6+
7+
working_directory: ~/label-maker
8+
steps:
9+
- checkout
10+
- run:
11+
name: Installing Dependencies
12+
command: |
13+
sudo apt-get update
14+
sudo apt-get install libgdal-dev
15+
sudo pip install numpy==1.13.3
16+
sudo pip install -r requirements.txt
17+
sudo pip install -r requirements-dev.txt
18+
- run:
19+
name: Pylint
20+
command: pylint ~/label-maker/label_maker --rcfile=~/label-maker/.config/pylintrc
21+
- run:
22+
name: Unit Tests
23+
command: python -m unittest -v
24+
- run:
25+
name: Integration Tests
26+
command: |
27+
sudo pip install .
28+
mkdir integration
29+
cp test/fixtures/integration/portugal-z17.mbtiles integration/portugal-z17.mbtiles
30+
cp -r test/fixtures/integration/tiles integration/tiles
31+
label-maker labels --dest integration --config test/fixtures/integration/config.integration.json > stdout
32+
python test/verify-labels.py
33+
label-maker package --dest integration --config test/fixtures/integration/config.integration.json
34+
python test/verify-package.py

0 commit comments

Comments
 (0)