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

Speed up some travis builds #12582

Merged
merged 1 commit into from Mar 20, 2018
Merged

Speed up some travis builds #12582

merged 1 commit into from Mar 20, 2018

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Feb 26, 2018

skips not required setup parts

refs #6312

@sgiehl sgiehl added c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Feb 26, 2018
@@ -50,13 +50,20 @@ matrix:
- php: 5.6
env: TEST_SUITE=UnitTests MYSQL_ADAPTER=PDO_MYSQL
sudo: false
addons: false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skips installing any apt packages

- php: 5.6
env: TEST_SUITE=AngularJSTests MYSQL_ADAPTER=PDO_MYSQL SKIP_COMPOSER_INSTALL=1
sudo: false
addons: false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skips installing any apt packages

apt:
packages:
- nginx
- realpath
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only install apt packages that are required

- date
- php -r "var_dump(gd_info());"
- mysql -e 'create database piwik_tests;'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block was moved to travis scripts

@mattab mattab added this to the 3.3.1 milestone Mar 19, 2018
@diosmosis
Copy link
Member

This & matomo-org/travis-scripts#39 both look good to me

@mattab mattab merged commit b7a5b45 into 3.x-dev Mar 20, 2018
@mattab mattab deleted the testspeedup branch March 20, 2018 10:03
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. 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

3 participants