-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Run UI tests on PHP 5.4 in Piwik 3.0 branch #8452
Conversation
install: | ||
- git fetch -q | ||
|
||
- export GENERATE_TRAVIS_YML_COMMAND="php ./tests/travis/generator/main.php generate:travis-yml --core --verbose" | ||
- '[[ "$TRAVIS_JOB_NUMBER" != *.1 || "$TRAVIS_PULL_REQUEST" != "false" ]] || ./tests/travis/autoupdate_travis_yml.sh' | ||
# Disable it until this is in master, otherwise we have to create a branch for travis submodule |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really wanted to avoid having to keep a branch of travis submodule in sync. I reckon it's ok to just not have this activated for now. Not sure how to make sure we won't forget to enable it again. Of course we can create an issue but chances are high we won't look into that issue... I will create one though if we merge this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me, cc @diosmosis maybe you have some thoughts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already talked about it
Run UI tests on PHP 5.4 in Piwik 3.0 branch
What a good feeling to get rid of 5.3.x! |
In #7323 we announced to drop support for PHP 5.3 in Piwik 3.0.
In this PR I changed to run the UI tests to PHP 5.4 as it is needed by PRs like this #8449 which requires PHP 5.4. UI tests seem to run quite a bit faster (finished in 28 minutes but possible we got a good VM)
If someone knows what the lowest available PHP 5.4 version on Travis is, let me know. I couldn't find that information. Right now they will run on the latest PHP 5.4
I also removed some code in tests that marked tests as skipped if they run on PHP 5.3. This will be no longer needed. BTW: It feels really good to remove them.
If a super user is logged in, we currently show a message PHP 5.3 has reached EOL etc. I changed this to PHP 5.4 as it reaches soon EOL and by the time it will have reached for sure. I removed the message that we will drop support for PHP 5.4 though (as we won't do this for now).
In another PR we can remove more "hacks" or workarounds that were made for PHP 5.3