1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-12 20:20:59 +02:00

Travis: actually use different ZDOTDIRs (#83)

This commit is contained in:
Daniel Hahler 2017-12-15 23:11:20 +01:00 committed by GitHub
parent 51c7421f10
commit 76e387c766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -18,4 +18,4 @@ install:
- export SHELL=zsh
script:
- zsh --version
- make test
- make test ZDOTDIR=$ZDOTDIR

View File

@ -1,16 +1,15 @@
# Default, can be overridden using "make test ZDOTDIR=...".
ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
# Export it, and make it absolute.
override export ZDOTDIR:=$(abspath $(ZDOTDIR))
# Make it absolute.
override ZDOTDIR:=$(abspath $(ZDOTDIR))
TEST_SHELL:=zsh
test:
cram --shell=$(TEST_SHELL) -v tests
ZDOTDIR=$(ZDOTDIR) cram --shell=$(TEST_SHELL) -v tests
itest:
cram -i --shell=$(TEST_SHELL) tests
ZDOTDIR=$(ZDOTDIR) cram -i --shell=$(TEST_SHELL) tests
# Run tests with all ZDOTDIRs.
test_full: