我正在尝试为我的项目使用 bitbucket 管道,并且我使用简单的配置:
image: phpunit/phpunit:5.0.3
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- composer --version
- phpunit --version
- composer global require "fxp/composer-asset-plugin:^1.2.0"
- composer install
- php init --env=Development --overwrite=All
但是,在作曲家安装阶段,我需要一个 github 令牌,因为 yii2 在 github 上。那么,如何使用这个配置运行带有令牌的作曲家?