Closed
Conversation
Member
|
I think at this point, if we were to do something like this, we'd look at Github Actions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see https://en.wikipedia.org/wiki/Travis_CI for basic information about Travis CI
You can do absolutely amazing things with Travis (e.g. checking coding standards, running unit tests, auto-deployment of releases, updating phpDocumentor class docs, updating the project's website ...), the most basic thing Travis can do for you is checking that you don't have PHP syntax errors in your code.
This PR adds a
.travis.ymldoing just this: It checks all PHP files of ViMbAdmin for syntax errors with PHP 5.4, 5.5, 5.6, 7.0, HHVM and PHP's current nightly build. If one of them fail (except the nightly build), GitHub will show a appropriate failure message near the commit or PR that was checked (see https://blog.travis-ci.com/2012-09-04-pull-requests-just-got-even-more-awesome/).Example build: https://travis-ci.org/PhrozenByte/ViMbAdmin/builds/122607730
Here's a step-by-step tutorial on how to enable Travis for your GitHub repo:
If you want to add more functionality to Travis, just ask me 😃
btw: The reason why I suggest this is because I was wondering with which version PHP introduced array dereferencing (idefix6 used it in his new plugin and I falsely thought it has been introduced with PHP 5.5). You will never have to think about something like this with Travis 😉