Files
opensearch-pyd/Makefile
T
Nick Lang 4538df2aa0 Testing changes for Jenkins CI (#863)
* testing

* more fixes

* downgrade docker-compose file version cause jenkins

* fixing matrix

* back to elasticsearch_version

* skip py3.7 for now there's a bug

* add build badge and remove 3.3
Sphinx doesn't play nice with 3.3

* sphinx 1.7 drops support for python 3.3

* updating test matrix

* remove travis

* updating badges
2018-10-31 12:07:38 -06:00

19 lines
574 B
Makefile

clean:
docker-compose down --remove-orphans --volumes
build:
PYTHON_VERSION=${PYTHON_VERSION} docker-compose build client
pull:
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose pull
push:
# requires authentication.
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
run_tests:
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} PYTHON_VERSION=${PYTHON_VERSION} docker-compose run client python setup.py test
start_elasticsearch:
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION} docker-compose up -d elasticsearch