Closed julienvey closed 8 years ago
Env is not persisted neither:
install:
- export X=42
script:
- echo $X
X
is not set in script
The question is, is this really a problem ? And is fixing this worth the complexity of the solution (capturing the working dir and env at the end of every phase and restore them in the next one) ?
For some projects, commands need to be run not at the root of the project, for instance, in a
source
directory.A way to achieve this is to add the
cd
command in thebefore_install
phaseBut this change of path is not persisted