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 building and testing in Travis CI #563

Merged
merged 12 commits into from Oct 22, 2019
Merged

Conversation

roberthusak
Copy link
Contributor

  • Add namespaces to all the tests in tests folder so that they are isolated.
  • Fix the tests accordingly (mostly by prepending library types by \ and using the particular namespace in reflection stuff).
  • Fix the usage of __FUNCTION__ inside a namespace.
  • Build the tests as one project in Travis CI and only run them one by one - about 4x times faster than compiling them separately.
  • Run Peachpie.Runtime.Tests in Travis CI.

Copy link
Member

@jakubmisek jakubmisek left a comment

Choose a reason for hiding this comment

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

nice!

tests/arrays/array_map.php Outdated Show resolved Hide resolved
tests/program.php Outdated Show resolved Hide resolved
tests/program.php Outdated Show resolved Hide resolved
@jakubmisek
Copy link
Member

thank you @roberthusak !

@jakubmisek jakubmisek merged commit 8f610c4 into master Oct 22, 2019
@roberthusak
Copy link
Contributor Author

@jakubmisek ok, thanks for the review!

@roberthusak roberthusak deleted the dev/travis-speedup branch October 22, 2019 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants