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

Remove bower #884

Merged
merged 2 commits into from
Aug 15, 2018
Merged

Remove bower #884

merged 2 commits into from
Aug 15, 2018

Conversation

tcitworld
Copy link
Member

This removes bower and makes it work with npm intead.

The second commit make tests use a local version of phpunit instead of a global one (it's always too up-to-date on my system), which can be installed through composer.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@tcitworld tcitworld added 3. to review Waiting for reviews skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills META Language: PHP Issues that require PHP to be fixed labels Aug 6, 2018
* Uses PHPUnit 6.5 (requires PHP 7.0+, but we got rid with NC 14 (see nextcloud/server#7368)
* Namespaces are rewritten
* If composer isn't installed, it installs it (taken from nextcloud/news)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove PHPUnit Download in CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Properly handle phpunit on travis for 5.6

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove trouble composer.lock

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Don't install composer deps twice on CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@tcitworld
Copy link
Member Author

For PHP 5.6 compatibility and only in this case, we keep using PHPUnit 5.7.

  • Ocular may also be changed to local composer dependency.

@georgehrke georgehrke merged commit da65f66 into master Aug 15, 2018
@georgehrke georgehrke deleted the remove-bower branch August 15, 2018 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews Language: PHP Issues that require PHP to be fixed META skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants