GitHub user agoodm reopened a pull request: https://github.com/apache/zeppelin/pull/1632
[ZEPPELIN-1639] Add tests with external python dependencies to CI build ### What is this PR for? Take 2 of #1618 because I had some earlier problems with rebasing. Since, then I have added some new features, namely: - Matplotlib integration tests for pyspark - `install_external_dependencies.sh` which conditionally installs the R or python dependencies based on the specified build profile in `.travis.yml`. This saves several minutes of time for a few of the build profiles since the R dependencies are compiled from source and therefore take quite a bit of time to install. - The extra python unit tests which require external dependencies (`matplotlib` and `pandas`) are now relegated to two separate build profiles. This is done primarily to efficiently test both Python 2 and 3. - Some minor bugs in the python and pyspark interpreters (mostly with respect to python 3 compatibility) were caught as a result of these tests, and are also fixed in this PR. ### What type of PR is it? Improvement and Bugfix ### What is the Jira issue? [ZEPPELIN-1639](https://issues.apache.org/jira/browse/ZEPPELIN-1639) ### How should this be tested? CI tests should be green! ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/agoodm/zeppelin ZEPPELIN-1639 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1632.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1632 ---- commit b6b88be38657410f1fb10242014b386450f5282f Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-08T21:52:33Z Add python dependencies to .travis.yml commit 42da31ceb4ce99b8130b455fbf6847d029033632 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-15T05:59:08Z Shorten python version commit 3a76958ca3a4b631ea87ac35ce45a325c3547ee2 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-15T09:03:07Z Travis commit ee95d677dc568f429f6b279f54b2ca10c17c8ed6 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-21T22:52:45Z Move python 3 tests to all modules with spark 2.0 commit 5709c5d516df66c28b2714d58ae87c7c40b1278c Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-24T17:37:58Z Re-add pyspark to build profile commit 73663f6c1461e4df20cbb902a1b8029d16380c47 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-24T18:06:44Z Update tests for new InterpreterContext constructor commit 5a60181be31af063d64e0038dfb96438182c76f8 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-25T07:57:58Z Isolate python tests commit a4f43af87d39a46f125bd0fa1a64768cafdc6f79 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-25T19:05:49Z Update comments in .travis.yml commit 363019ec8176384ec6efe368e6de341b4b3e97a7 Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-25T19:29:04Z Use spark 2.0 with python 3 commit 01380c2d7527204c63034ce60b8361c64fc785dd Author: Alex Goodman <ago...@users.noreply.github.com> Date: 2016-11-27T07:01:46Z Make sure python 3 profile uses scala 2.11 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---