I am having the same issue. I’m trying to run some PHP scripts while building a Rust language project, but I can’t seem to find a working version of PHP on Xenial.
My .travis.yml
file looks something like this:
language: rust
sudo: false
dist: xenial
cache:
- cargo
rust:
- stable
before_install:
- phpenv versions
- php --version
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.3" mdbook)
- cargo install-update -a
script:
- php tools/toc.php
- mdbook build