From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 6803E5D4 for ; Mon, 29 Apr 2019 23:33:17 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,411,1549926000"; d="scan'208,217";a="380975378" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 30 Apr 2019 01:33:16 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 5FB2082685; Tue, 30 Apr 2019 01:33:16 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 2A368822B9 for ; Tue, 30 Apr 2019 01:33:10 +0200 (CEST) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=helmut.brandl@gmx.net; spf=Pass smtp.mailfrom=helmut.brandl@gmx.net; spf=None smtp.helo=postmaster@mout.gmx.net IronPort-PHdr: =?us-ascii?q?9a23=3AJk4o/B+5fdkWg/9uRHKM819IXTAuvvDOBiVQ1KB4?= =?us-ascii?q?2+ocTK2v8tzYMVDF4r011RmVBNydtakP0bGempujcFRI2YyGvnEGfc4EfD4+ou?= =?us-ascii?q?JSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgpp?= =?us-ascii?q?POT1HZPZg9iq2+yo9JDffhhEiCC8bL58Ixm6swvcvdQKjIV/Lao81gHHqWZSde?= =?us-ascii?q?RMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZ?= =?us-ascii?q?TQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhz?= =?us-ascii?q?odNzMh8G/YlsN/gqxGrhyiuRJxxJXZb5uJOPp7ZK7dfc8WSGhHU81MVyJBGIS8?= =?us-ascii?q?b44XAuQDI+lYq4z9p0YSrRCjGASsHvngyjlViX/ywKY31OQhHh/C3AwlAtIOrG?= =?us-ascii?q?7Yo87vNKgIV+C60a3IwC7Mb/NT1jbx8o7IfQ49ofyVW797bMTfyU4qFwzfj1WQ?= =?us-ascii?q?r5ToPzSN1usXtmiX9fFgVeK3h24gtw5+uD2vxsM2honShoIYzE3P+yZhwIstO9?= =?us-ascii?q?G0VVB3bcS6HJdOtSyWLZZ6T8E4T212pio20qAKtJ2/cSQQ1ZgqyBzSZ+aDfoSV?= =?us-ascii?q?+B7uWumcLDFlj3x/Yr2/nQy98U24x+38SMa01FFKozJAktnLq3ANywbf6seCSv?= =?us-ascii?q?py5Euh3yiA1xzL5uFFJ0A7i7bbJoY/zrItiJYfq1rPEjH0lUnskaObdF8o9va2?= =?us-ascii?q?5+j/Z7XpvJ6cN4t6igHkNaQun9SyAeQmPQgKWmib5Pi82Kf48k3jWrpKiOA5kq?= =?us-ascii?q?3CvZDVIMQaqbS1AwlL3YY/8xq/FSup0MwEnXkbK1JIYA6IgJLsO1HKOfz4Cfa/?= =?us-ascii?q?g0+wkDpw3PDHPrjhAo3XIXTZkbfhe6x9609GxwYpw9Bf/cEcNrZUK/v2Xgfsr9?= =?us-ascii?q?HCFVdtOAWxx6PjCc5h/oIYQ2OGRKGDZvD8q1iNs8IiJ+yReMc/oj/7J/xts/7j?= =?us-ascii?q?iXokhRkXZ6Cv0Z8/Z3WoWPJrPxPKMjLXnt4dHDJS7UIFR+vwhQjaCG8BVzOJR6?= =?us-ascii?q?s5owoDJsejBIbHSJqqhe3T0yKrWJtbejIfUw3eITLTb4yBHsw0RmeSL8tmy2BW?= =?us-ascii?q?UL+8V8ku0AHosgLmmeI+crjkvxYAvJem7+BbovXJnEBg+jlkScKQzzPVQg=3D?= =?us-ascii?q?=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BkCACAiMdchxYR49RlghcCgQ2BbU8yK?= =?us-ascii?q?IQQkyOBaIQDhXGPAYF7ECwBinQbBwEEMgcOAQMBAQQBAQIBAQEBEwEBAQgNCQg?= =?us-ascii?q?pIwxCAQEBAwcCgWkigxgdAQE4XAJfgzWBaQEDHgKjZ4oscYEvgnkBAQWCR4F4A?= =?us-ascii?q?UoDZ4E8CYEyAYRhhmiBVz+BOAwTgh6IOjKCJpMqhk2NBAcCgXwPAk8EkXmMA4k?= =?us-ascii?q?knWSDHoFWC4F8MxouRSoBgkE+gWuILoYYITOBBgEBhCFjjjYBAQ?= X-IPAS-Result: =?us-ascii?q?A0BkCACAiMdchxYR49RlghcCgQ2BbU8yKIQQkyOBaIQDhXG?= =?us-ascii?q?PAYF7ECwBinQbBwEEMgcOAQMBAQQBAQIBAQEBEwEBAQgNCQgpIwxCAQEBAwcCg?= =?us-ascii?q?WkigxgdAQE4XAJfgzWBaQEDHgKjZ4oscYEvgnkBAQWCR4F4AUoDZ4E8CYEyAYR?= =?us-ascii?q?hhmiBVz+BOAwTgh6IOjKCJpMqhk2NBAcCgXwPAk8EkXmMA4kknWSDHoFWC4F8M?= =?us-ascii?q?xouRSoBgkE+gWuILoYYITOBBgEBhCFjjjYBAQ?= X-IronPort-AV: E=Sophos;i="5.60,411,1549926000"; d="scan'208,217";a="380975365" X-MGA-submission: =?us-ascii?q?MDET9XThuB1ckic4q2SBE1BDwyQwx6jlzMibTA?= =?us-ascii?q?iUkwueBTWY2zzp8GIcqw1Wny6NCAW7KcZr0yKy/Kez0c36mqo+Kbpwca?= =?us-ascii?q?V0VbgPVB+Qm0EGleAXRjxLPgVJ4Sv47miRcHXEW19F/9+URlEUPDknrt?= =?us-ascii?q?W80eXBMMQGgmbE5weqPVDRjg=3D=3D?= Received: from mout.gmx.net ([212.227.17.22]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 30 Apr 2019 01:33:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1556580788; bh=QMjyUci44pySbMRKCKrFqEMPs/YTkqGpdNyIMUrStU0=; h=X-UI-Sender-Class:From:Date:Subject:To; b=StICSGWmWCJnJSpWvdOEkosclKcUyHwSTUYu50b++1d3NVlny4CSJnKqKU5agP+0p hdB4ZpbaDYjs7m1mF+9ULMax6LU5qnNTJjyomIQb9CHfO7FoZYy1pOtP4HyahS+Erz PDr/PSTMg85V75Qw+b7X4/IsF3JWCr/wbczWJJ+s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.66] ([189.147.91.34]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWici-1hJAJI0aeu-00X3xo; Tue, 30 Apr 2019 01:33:08 +0200 From: Helmut Brandl Content-Type: multipart/alternative; boundary="Apple-Mail=_2F33D445-35AD-47FC-BE93-FA3EB1C905F4" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Date: Mon, 29 Apr 2019 18:33:06 -0500 Message-Id: To: caml users X-Mailer: Apple Mail (2.3445.104.8) X-Provags-ID: V03:K1:QluFvztouZTCDHTj/x7pdyN1ztk0BVJ2VizQkVYdSYyJZRN7zoM qXMirmyKEUDXTE/9jzmELBx7g2efNhs5vaTxUcJXWdLAwite/8zi9g+WLZz4FGmzj0mVfY6 Rhj+aeyv2coH78XeeHaEnDwTWtpuJE4jsn8yRub2AZL9z/QpAlQ+eDlHcDMxoQVpkH6yXBU pdwjrMsPRo/HC2th/j8dQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Xey9JmVYkDY=:OH2TBrV7WNJf/vOMNDZcA8 8D9uZtwQYCf7TVUle2psIWm8UjIVXx7V6WoSOHq8eDxtJC/uhCl0Pg6fgISHLen49T/PJMO1Z wtvR24ocyYbmxa/jaXJ03Cjg86HSZSXtOrM38MF7dMNMZOWM2Ghk6vlyc6TYqbgPyG0lFn4B3 3xLLI0/GdnQC5i0/7s36z+L3b2QinSK5Z1o+k4gUjuEVI9Ivw2lSBym6bk7iU6RsVm8jEgD8/ DX+IMiWgf7Cq2H80dCXTYtMU/Qbt4Pq7v9WNXfdlrJkwSNT5FrW/mwYDTP+K2BXvVXPOkUuQM YYmJEsYrWfwGKkEHsd/YSmSPaqsSZr2J/Q+10jwmWlcN0sYljhCAvCZdO/RA09rvhzsn5/lbs ZB5hZFWkKrpLbulhjVwGKHsUt5uW100mFThSPh8jB1MGadFK/b/5Gk/zOkGNChAUqSzSrGtSE kNZDc5lwO64Pgxs5BU/hBm8POVnXHaZW8UpZiAiTnmZ8E89fm3o+7n97YtNRxROmkeDjGNupB crBLUaDeIIJTefykk43eec/Sc8T+/fmjq38yGq5QPjPsoEreIeQjyMauojPIrsP71CRCKhJC5 YYuh/F+qptzAJ2ZKY0jjBNRASjTe7PZjWhTBBO4rizaFWuKlNRMDqmqPWAkOlV9k+enen2k+z kXTgv9JEyp76gx+zlWAWQMpDMVOcLazrDQag4FJle2nlKMmrWghtJk+Q57L9cX9YN/C9kL+ee g8p2Ssq/KqobWn9Bz9mF7Tn7tOaC/6gMiwr8HUx3g3jAXkInPBqMPdbief/Mmao+Men9b7rOe hBWrlZchwet2T1xBZCPQ16QhVmxtKL/K+nybky9M5R7D8f1AJd3Fc3dO+XDe4a7MqEhBaUz0+ Yd5q5f2o3A4qXlpizm2g0U1axDmotQBemPQVpA0uFY0P7v38EF8vy2Xy825F5/F1vrzoQpEoy 3sHPqsPOMDw== Subject: [Caml-list] Auto deploy to gh-pages with travis-ci Reply-To: Helmut Brandl X-Loop: caml-list@inria.fr X-Sequence: 17522 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --Apple-Mail=_2F33D445-35AD-47FC-BE93-FA3EB1C905F4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello list, I have used the ocaml/ocaml-ci-scripts to start continuous integration = with travis-ci. I have copied the =E2=80=98.travis.yaml=E2=80=99 file = into my repository and started pushing to my GitHub repo. With that = everything works fine. Travis builds the project, runs the tests and = creates the documentation (I use =E2=80=98dune build=E2=80=99, =E2=80=98du= ne build @runtest=E2=80=99 and =E2=80=98dune build @doc'). Now I wanted to start an automatic deploy to GitHub pages and added the = following to my =E2=80=98.travis.yaml=E2=80=99 file: deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN keep_history: false on: branch: master local_dir: _build/default/_doc/_html/ First I have forgotten to add the last line and travis-ci added the hole = root directory to GitHub pages. After adding the last list, the script = cannot find the specific documentation directory. I have checked in the = log file, that the build script generates the documentation. However it = possibly removes it at the end. Does anybody have an idea how I can find the built documentation? I have = difficulties in understanding the =E2=80=98.travis.opam.sh=E2=80=99 and = =E2=80=98.travis.ocaml.sh=E2=80=99 scripts which are obviously loaded by = the =E2=80=98.travis.yaml=E2=80=99 file. Thanks for hints. Helmut= --Apple-Mail=_2F33D445-35AD-47FC-BE93-FA3EB1C905F4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello= list,

I have used = the ocaml/ocaml-ci-scripts to start continuous integration with = travis-ci. I have copied the =E2=80=98.travis.yaml=E2=80=99 file into my = repository and started pushing to my GitHub repo. With that everything = works fine. Travis builds the project, runs the tests and creates the = documentation (I use =E2=80=98dune build=E2=80=99, =E2=80=98dune build = @runtest=E2=80=99 and =E2=80=98dune build @doc').
Now I wanted to start an automatic = deploy to GitHub pages and added the following to my =E2=80=98.travis.yaml= =E2=80=99 file:

deploy:
  provider: pages
  skip_cleanup: = true
  github_token: $GITHUB_TOKEN
  = keep_history: false
  on:
    branch: = master
  local_dir: _build/default/_doc/_html/


First I have forgotten to add the last line and travis-ci = added the hole root directory to GitHub pages. After adding the last = list, the script cannot find the specific documentation directory. I = have checked in the log file, that the build script generates the = documentation. However it possibly removes it at the end.

Does anybody have an = idea how I can find the built documentation? I have difficulties in = understanding the =E2=80=98.travis.opam.sh=E2=80=99 and = =E2=80=98.travis.ocaml.sh=E2=80=99 scripts which are obviously loaded by = the =E2=80=98.travis.yaml=E2=80=99 file.

Thanks for hints.
Helmut
= --Apple-Mail=_2F33D445-35AD-47FC-BE93-FA3EB1C905F4--