Skip to content

Travis: fix build and other tweaks #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Apr 14, 2020

Travis: fix build and other tweaks

  • The build was running on xenial which does not have ant installed by default, nor has PHP 5.4/5.5 images available.
    Switching to the trusty distribution fixes this.
  • Support for sudo: false has been removed from Travis over a year ago.
  • Test against PHP 7.3, 7.4 and PHP nightly (= PHP 8), allowing the build against PHP 8 to fail for now.

Fix build script

The build script was still pointing to an outdated dependency.

Note: even though the PHPCS part of the build is failing, the build isn't being failed. I suspect this has to do with the failonerror="true" attribute missing from the PHPCS command in the build.xml file.

jrfnl added 2 commits April 14, 2020 17:22
* The build was running on `xenial` which does not have `ant` installed by default, nor has PHP 5.4/5.5 images available.
    Switching to the `trusty` distribution fixes this.
* Support for `sudo: false` has been removed from Travis over a year ago.
* Test against PHP 7.3, 7.4 and PHP `nightly` (= PHP 8), allowing the build against PHP 8 to fail for now.
The build script was still pointing to an outdated dependency.
This was referenced Apr 27, 2020
@grogy
Copy link
Member

grogy commented Apr 28, 2020

Thank you 👍

@grogy grogy merged commit 6c8334f into php-parallel-lint:master Apr 28, 2020
@jrfnl jrfnl deleted the feature/travis-fix-build branch April 28, 2020 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants