我已经谷歌这几个小时,有人可以告诉我在Travis-CI Build上deps="low"
env var的含义是什么?
答案 0 :(得分:3)
它实质上告诉作曲家更新到仍然符合依赖性要求的最低版本。
请检查:http://evertpot.com/testing-composer-prefer-lowest/
另外,在Travis.yml:
- if [ "$deps" = "no" ]; then composer --prefer-source install; fi;
- if [ "$deps" = "high" ]; then composer --prefer-source update; fi;
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi;