Github user basti1302 commented on a diff in the pull request:
https://github.com/apache/couchdb-ci/pull/1#discussion_r48251963
--- Diff: ansible/roles/ubuntu-worker/tasks/dependencies.yml ---
@@ -0,0 +1,59 @@
+- name: import the Erlang Solutions key into apt
+ apt_key:
+ url: http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
+ state: present
+ # validate_certs: no
+
+- name: add Erlang Solutions deb repository
+ apt_repository:
+ repo: 'deb http://packages.erlang-solutions.com/ubuntu trusty contrib'
+ state: present
+
+# apt-get update
+- name: update apt cache
+ apt:
+ update_cache: yes
+
+- name: install auxiliary packages
+ apt: name={{item}} state=present
+ with_items:
+ - apt-transport-https
+ - curl
+ - git
+ - pkg-config
+ - python
+
+# required for make couch
+- name: install packages required to build CouchDB
+ apt: name={{item}} state=present install_recommends=no
+ with_items:
+ - build-essential
+ - ca-certificates
+ - erlang-dev=1:18.2
+ - erlang-nox=1:18.2
+ - erlang=1:18.2
+ - libcurl4-openssl-dev
+ - libicu-dev
+ - libmozjs185-dev
+
+# required for make docs
+- name: install packages required to build CouchDB
+ apt: name={{item}} state=present install_recommends=no
+ with_items:
+ - help2man
+ - python-sphinx
+ - texlive-latex-base
+ - texlive-latex-recommended
+ - texlive-latex-extra
+ - texlive-fonts-recommended
+ - texinfo
+
+# More packages found in klaemo's Dockerfile... not sure if required,
apparently not?
+# - erlang-base-hipe
+# - erlang-dialyzer
+# - erlang-eunit
--- End diff --
Still, a full `make` runs fine without erlang-eunit. I guess the unit tests
should definitely run on CI. Do I need to call anything special to trigger
them? Or does the Makefile simply skip them if erlang-eunit is not installed?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---