Adds build status sticker to README and runs test on different Python versions (#84)

* Adds build status sticker to README

* Adds Python version to test matrix

* Adds debug echo message

* Adds back Python 3.5.3 to test matrix
This commit is contained in:
Camilla 2019-12-11 15:41:34 +01:00 committed by GitHub
parent c5730e6d38
commit 40a584dcc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -51,6 +51,10 @@
type: yaml
filename: .ci/test-matrix.yml
name: TEST_SUITE
- axis:
type: yaml
filename: .ci/test-matrix.yml
name: PYTHON_VERSION
yaml-strategy:
exclude-key: exclude
filename: .ci/test-matrix.yml

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
echo $PYTHON_VERSION
if [[ -z $ELASTICSEARCH_VERSION ]]; then
echo -e "\033[31;1mERROR:\033[0m Required environment variable [ELASTICSEARCH_VERSION] not set\033[0m"
exit 1
@ -56,7 +58,7 @@ echo -e "\033[1m>>>>> YOUR STEPS HERE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
echo -e "\033[1m>>>>> Build [elastic/eland container] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
docker build --file .ci/Dockerfile --tag elastic/eland .
docker build --file .ci/Dockerfile --tag elastic/eland --build-arg PYTHON_VERSION=${PYTHON_VERSION} .
echo -e "\033[1m>>>>> Run [elastic/eland container] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"

View File

@ -1,3 +1,5 @@
[![Build Status](https://clients-ci.elastic.co/buildStatus/icon?job=elastic%2Beland%2Bmaster)](https://clients-ci.elastic.co/job/elastic+eland+master/)
# What is it?
eland is a elasticsearch client Python package to analyse, explore and manipulate data that resides in elasticsearch.