File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ version : 2.1
4
+
5
+ executors :
6
+ python-27 : {docker: [{image: 'python:2.7'}]}
7
+ python-35 : {docker: [{image: 'python:3.5'}]}
8
+ python-36 : {docker: [{image: 'python:3.6'}]}
9
+ python-37 : {docker: [{image: 'python:3.7'}]}
10
+
11
+ jobs :
12
+ build :
13
+ parameters :
14
+ executor :
15
+ type : executor
16
+ executor : << parameters.executor >>
17
+ working_directory : ~/repo
18
+ steps :
19
+ - checkout
20
+ - restore_cache :
21
+ keys :
22
+ - v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements.txt" }}
23
+ - run :
24
+ name : install dependencies
25
+ command : |
26
+ pip install virtualenv
27
+ virtualenv venv
28
+ . venv/bin/activate
29
+ python setup.py install
30
+ - save_cache :
31
+ paths :
32
+ - ./venv
33
+ key : v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements.txt" }}
34
+ - run :
35
+ name : run tests
36
+ command : |
37
+ . venv/bin/activate
38
+ python setup.py test
39
+
40
+ workflows :
41
+ run-tests :
42
+ jobs :
43
+ - build : {name: run-tests-python-2.7, executor: python-27}
44
+ - build : {name: run-tests-python-3.5, executor: python-35}
45
+ - build : {name: run-tests-python-3.6, executor: python-36}
46
+ - build : {name: run-tests-python-3.7, executor: python-37}
Original file line number Diff line number Diff line change 1
1
<p align =" center " ><img src =" https://github.com/elastic/site-search-python/blob/master/logo-site-search.png?raw=true " alt =" Elastic Site Search Logo " ></p >
2
2
3
- <p align =" center " ><a href =" https://travis-ci.org/ elastic/site-search-python " ><img src =" https://travis-ci.org/ elastic/site-search-python.png?branch= master " alt =" Travis build" ></a >
3
+ <p align =" center " ><a href =" https://circleci.com/gh/ elastic/site-search-python " ><img src =" https://img.shields.io/circleci/build/github/ elastic/site-search-python/ master " alt =" CircleCI build" ></a >
4
4
<a href =" https://github.com/elastic/site-search-python/releases " ><img src =" https://img.shields.io/github/release/elastic/site-search-python/all.svg?style=flat-square " alt =" GitHub release " /></a ></p >
5
5
6
6
> A first-party Python client for the [ Elastic Site Search API] ( https://elastic.co/products/site-search ) .
You can’t perform that action at this time.
0 commit comments