mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Update Makefile. Use same path configuration as travis-ci.
This commit is contained in:
parent
acce3744e7
commit
bfddc69120
3 changed files with 8 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
/build
|
|
||||||
/shims
|
/shims
|
||||||
/version
|
/version
|
||||||
/versions
|
/versions
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
install: git clone https://github.com/sstephenson/bats.git
|
install: git clone https://github.com/sstephenson/bats.git
|
||||||
script: PATH="./bats/bin:$PATH" test/run && ( cd plugins/python-build bats ${CI:+--tap} test )
|
script: make test
|
||||||
language: c
|
language: c
|
||||||
env:
|
env:
|
||||||
- PYENV_NATIVE_EXT=
|
- PYENV_NATIVE_EXT=
|
||||||
|
|
14
Makefile
14
Makefile
|
@ -1,8 +1,8 @@
|
||||||
test: build/bats/bin/bats
|
|
||||||
build/bats/bin/bats --tap test
|
|
||||||
cd plugins/python-build && $(PWD)/build/bats/bin/bats --tap test
|
|
||||||
|
|
||||||
build/bats/bin/bats:
|
|
||||||
git clone https://github.com/sstephenson/bats.git build/bats
|
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
|
test: bats
|
||||||
|
PATH="./bats/bin:$$PATH" test/run
|
||||||
|
cd plugins/python-build && $(PWD)/bats/bin/bats $${CI:+--tap} test
|
||||||
|
|
||||||
|
bats:
|
||||||
|
git clone https://github.com/sstephenson/bats.git
|
||||||
|
|
Loading…
Reference in a new issue