Commit 5d3a3ee01cb70dcbbb1206073db1ec6cab5e591b

Authored by Shrikant Sharat
1 parent 66bfd79522

Fix no virtualenv on travis.

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

... ... @@ -32,4 +32,4 @@ install:
32 32 - "sudo apt-get install zsh"
33 33  
34 34 # Run the tests.
35   -script: "make tests"
  35 +script: "make tests PYENV="
1 1 .PHONY: itests tests
2 2  
  3 +PYENV ?= . .pyenv/bin/activate &&
3 4 TESTS ?= tests
4 5  
5 6 itests:
6 7 ${MAKE} tests CRAM_OPTS=-i
7 8  
8 9 tests:
9   - . .pyenv/bin/activate && ZDOTDIR="${PWD}/tests" cram ${CRAM_OPTS} --shell=zsh ${TESTS}
  10 + ${PYENV} ZDOTDIR="${PWD}/tests" cram ${CRAM_OPTS} --shell=zsh ${TESTS}