1
0
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:
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 - export SHELL=zsh
script: script:
- zsh --version - zsh --version
- make test - make test ZDOTDIR=$ZDOTDIR

View File

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