how to run composer.phar self-update in travis

不打扰是莪最后的温柔 提交于 2019-11-30 12:08:24

It is not such a good idea to hard-code the php path as paths might change when Travis gets update. I suggest simply calling

composer self-update

inside your travis.yml

make sure you have this section

before_install:
  - php /home/travis/.phpenv/versions/5.3.26/bin/composer.phar self-update

in order to run the self-update properly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!