Update Makefile. Use same path configuration as travis-ci.

This commit is contained in:
Yamashita Yuu 2014-12-01 22:50:04 +09:00
parent acce3744e7
commit bfddc69120
3 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
/build
/shims /shims
/version /version
/versions /versions

View file

@ -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=

View file

@ -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