Skip to content
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

Merged
merged 4 commits into from Jul 29, 2015
Merged

Run UI tests on PHP 5.4 in Piwik 3.0 branch #8452

merged 4 commits into from Jul 29, 2015

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jul 29, 2015

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

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Jul 29, 2015
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
Copy link
Member Author

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

Copy link
Member

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

Copy link
Member Author

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

@tsteur tsteur added Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. and removed Needs Review PRs that need a code review labels Jul 29, 2015
@tsteur tsteur added Needs Review PRs that need a code review and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Jul 29, 2015
@tsteur tsteur added this to the 3.0.0 milestone Jul 29, 2015
tsteur added a commit that referenced this pull request Jul 29, 2015
Run UI tests on PHP 5.4 in Piwik 3.0 branch
@tsteur tsteur merged commit 3082082 into 3.0 Jul 29, 2015
@tsteur tsteur deleted the php54 branch July 29, 2015 08:34
@mattab
Copy link
Member

mattab commented Jul 30, 2015

What a good feeling to get rid of 5.3.x!

@mattab mattab modified the milestones: 3.0.0, 3.0.0-b1 Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants