My builds keep failing when it attempts to set the PHP version. I get a message that says “Looks like we had a bug in our infrastructure…”, so is a possible Circle CI bug?
Here is the action message when it fails:
/opt/google-cloud-sdk/path.bash.inc: line 1: readlink: command not found
/home/ubuntu/.circlerc: line 47: phpenv: command not found
((phpenv global “7.0.4”)) returned exit code 127((phpenv global “7.0.4”)) returned exit code 127
Action failed: set php version to 7.0.4
And here is my circle.yml, if it helps:
machine: timezone: America/Chicago php: version: 7.0.4 hosts: trackatron.dev: 127.0.0.1 environment: APP_ENV: circle APP_DEBUG: true DB_HOST: 127.0.0.1 DB_DATABASE: circle_test DB_USERNAME: ubuntu CACHE_DRIVER: file SESSION_DRIVER: file QUEUE_DRIVER: sync PATH: /home/ubuntu/bin, ~/.composer/vendor/bin dependencies: post: - composer global require "laravel/envoy=~1.0" - php artisan key:generate - php artisan migrate --seed general: branches: only: - master - develop deployment: production: branch: master commands: - envoy run deploy