Skip to content

[ZEPPELIN-5024] Improve Travis-CI#3897

Closed
Reamer wants to merge 14 commits intoapache:masterfrom
Reamer:test_refactoring
Closed

[ZEPPELIN-5024] Improve Travis-CI#3897
Reamer wants to merge 14 commits intoapache:masterfrom
Reamer:test_refactoring

Conversation

@Reamer
Copy link
Contributor

@Reamer Reamer commented Aug 31, 2020

What is this PR for?

Travis-CI:

  • remove all environment variables from the build matrix, to use the same cache for all jobs
  • activate the mysql service only when this service is needed
  • activate the xvfb service, when is necessary and possible
  • removed Bower Caching to remove too many complicated lines in Travis-ci
  • Giving the test names
  • Installing R only once with conda, previously it was installed twice with 'testing/install_R.sh' and 'testing/install_external_dependencies.sh
  • remove the R-Cache, because the installation with conda is quite fast
  • Delete 'test/install_R.sh' because it is no longer used

Other:

  • Ignore the tests in 'HeliumApplicationFactoryTest.java' to get the JUnit tests running in the IDE + remove exclude in 'travis.yml
  • Remove deprecation warning in maven-surefire-plugin
  • Helium works better with an absolute path, because a relative path in PATH, is not a good idea for local testing
  • Remove JVM language dependent asserts

What type of PR is it?

Improvement

Todos

  • - Task

What is the Jira issue?

How should this be tested?

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@Reamer
Copy link
Contributor Author

Reamer commented Sep 1, 2020

@zjffdu Ready for review

@zjffdu
Copy link
Contributor

zjffdu commented Sep 2, 2020

Thanks for the fix @Reamer It is really helpful and useful. Very appreciated. +1

@Reamer
Copy link
Contributor Author

Reamer commented Sep 3, 2020

If there are no further comments, I will merge this to Master and Branch-0.9 on Monday (07.09.2020).

@asfgit asfgit closed this in 3b994f3 Sep 7, 2020
asfgit pushed a commit that referenced this pull request Sep 7, 2020
### What is this PR for?
Travis-CI:
 - remove all environment variables from the build matrix, to use the same cache for all jobs
 - activate the mysql service only when this service is needed
 - activate the xvfb service, when is necessary and possible
 - removed Bower Caching to remove too many complicated lines in Travis-ci
 - Giving the test names
 - Installing R only once with conda, previously it was installed twice with 'testing/install_R.sh' and 'testing/install_external_dependencies.sh
 - remove the R-Cache, because the installation with conda is quite fast
 - Delete 'test/install_R.sh' because it is no longer used

Other:
 - Ignore the tests in 'HeliumApplicationFactoryTest.java' to get the JUnit tests running in the IDE + remove exclude in 'travis.yml
 - Remove deprecation warning in maven-surefire-plugin
 - Helium works better with an absolute path, because a relative path in PATH, is not a good idea for local testing
 - Remove JVM language dependent asserts

### What type of PR is it?
Improvement

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5024

### How should this be tested?
* Travis-CI: https://travis-ci.org/github/Reamer/zeppelin/builds/723116251

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Philipp Dallig <philipp.dallig@gmail.com>

Closes #3897 from Reamer/test_refactoring and squashes the following commits:

5f0dc19 [Philipp Dallig] Remove zeppelin artifacts from m2 cache
e44957d [Philipp Dallig] Remove old install_R.sh
cb0ee7f [Philipp Dallig] Install R with conda, because then we need no sudo rights
b57906b [Philipp Dallig] Remove Spark distribution from cache, because the version is differs between tests
b2995a1 [Philipp Dallig] Give specific jobs an unique cache
837ff9d [Philipp Dallig] Remove env in each job to use the same cache
4153765 [Philipp Dallig] Remove bower_components cache
7ae02b1 [Philipp Dallig] Only run mysql, if we need mysql for integration tests
d70e201 [Philipp Dallig] Use service for xvfb - display tests
e0a6ba3 [Philipp Dallig] Naming build jobs
ab1694e [Philipp Dallig] forkMode is deprecated, migrate to new properties
f0fe751 [Philipp Dallig] The String "command not found" and "No such file or directory" depends on your JVM language.
c0b8071 [Philipp Dallig] Disable HeliumApplicationFactoryTest in SourceCode
2b13a0e [Philipp Dallig] The maven-frontend-plugin works better with an absolute path. A relative path in the PATH environment variable can be problematic.

(cherry picked from commit 3b994f3)
Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>
@Reamer Reamer deleted the test_refactoring branch September 9, 2020 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments