Why not:

```yml
before_install: "composer install"
```