mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-25 16:31:00 +02:00
Travis: actually use different ZDOTDIRs (#83)
This commit is contained in:
parent
51c7421f10
commit
76e387c766
@ -18,4 +18,4 @@ install:
|
|||||||
- export SHELL=zsh
|
- export SHELL=zsh
|
||||||
script:
|
script:
|
||||||
- zsh --version
|
- zsh --version
|
||||||
- make test
|
- make test ZDOTDIR=$ZDOTDIR
|
||||||
|
9
Makefile
9
Makefile
@ -1,16 +1,15 @@
|
|||||||
# Default, can be overridden using "make test ZDOTDIR=...".
|
# Default, can be overridden using "make test ZDOTDIR=...".
|
||||||
ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
|
ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
|
||||||
|
# Make it absolute.
|
||||||
# Export it, and make it absolute.
|
override ZDOTDIR:=$(abspath $(ZDOTDIR))
|
||||||
override export ZDOTDIR:=$(abspath $(ZDOTDIR))
|
|
||||||
|
|
||||||
TEST_SHELL:=zsh
|
TEST_SHELL:=zsh
|
||||||
|
|
||||||
test:
|
test:
|
||||||
cram --shell=$(TEST_SHELL) -v tests
|
ZDOTDIR=$(ZDOTDIR) cram --shell=$(TEST_SHELL) -v tests
|
||||||
|
|
||||||
itest:
|
itest:
|
||||||
cram -i --shell=$(TEST_SHELL) tests
|
ZDOTDIR=$(ZDOTDIR) cram -i --shell=$(TEST_SHELL) tests
|
||||||
|
|
||||||
# Run tests with all ZDOTDIRs.
|
# Run tests with all ZDOTDIRs.
|
||||||
test_full:
|
test_full:
|
||||||
|
Loading…
Reference in New Issue
Block a user