pyenv/Makefile
2017-01-01 18:40:52 +08:00

12 lines
295 B
Makefile

.PHONY: test
# Do not pass in user flags to build tests.
unexport PYTHON_CFLAGS
unexport PYTHON_CONFIGURE_OPTS
test: bats
PATH="./bats/bin:$$PATH" test/run
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
bats:
git clone --depth 1 https://github.com/sstephenson/bats.git