<div dir="ltr">And on second thought, you can also have build phases, where you try to get as far as possible before the timeout and then recommit the build artifacts to the cache. It works quite well with build stages.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-21 18:12 GMT-05:00 Paul Dao <span dir="ltr"><<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I should mention that scipy already has a travis.yml with the required commands:<div><br></div><div><a href="https://github.com/scipy/scipy/blob/04759f9d46541f1626232b2a44d16d00a10e530c/.travis.yml#L69" target="_blank">https://github.com/scipy/<wbr>scipy/blob/<wbr>04759f9d46541f1626232b2a44d16d<wbr>00a10e530c/.travis.yml#L69</a><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-09-21 18:11 GMT-05:00 Paul Dao <span dir="ltr"><<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The solution to the timing problems on Travis is to use ccache. Then you can enable a cron that builds daily. The cron will build the cache over time until the build succeeds. For appveyor, it's the same except you need to use "clcache," which is significantly more buggy.</div><div class="m_-2834748178455551890HOEnZb"><div class="m_-2834748178455551890h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-09-21 17:16 GMT-05:00 Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, in the ITKPythonPackage repository, the builds are happening on<br>
barebones machines (I will make a note in the documentation to clarify<br>
this). For large packages like ITK and VTK, TravisCI times out.<br>
<br>
On conda-forge, a VTK build with TravisCI was attempted, but it has<br>
not succeeded:<br>
<br>
  <a href="https://github.com/conda-forge/vtk-feedstock/pull/34#issuecomment-331285697" rel="noreferrer" target="_blank">https://github.com/conda-forge<wbr>/vtk-feedstock/pull/34#issueco<wbr>mment-331285697</a><br>
<div class="m_-2834748178455551890m_-8374205652150675712HOEnZb"><div class="m_-2834748178455551890m_-8374205652150675712h5"><br>
On Thu, Sep 21, 2017 at 5:48 PM, Paul Dao <<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>> wrote:<br>
> Actually, I have no idea what is happening on the ITKPythonPackage<br>
> repository. It seems that Travis is only used to lint the build scripts and<br>
> the actual builds are happening somewhere else. That's not how I would have<br>
> approached the problem and it's also not how packages are built at<br>
> MacPython.<br>
><br>
> 2017-09-21 16:21 GMT-05:00 Paul Dao <<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>>:<br>
>><br>
>> Step number one is to attach appveyor and Travis. Would you mind setting<br>
>> that up?<br>
>><br>
>> On Sep 21, 2017 4:12 PM, "Jean-Christophe Fillion-Robin"<br>
>> <<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>> wrote:<br>
>>><br>
>>> Hi Paul,<br>
>>><br>
>>> Thanks for the update.<br>
>>><br>
>>> We started to work on infrastructure to build VTK wheels for all<br>
>>> platforms.<br>
>>><br>
>>> The current repo is <a href="https://github.com/jcfr/VTKPythonPackage" rel="noreferrer" target="_blank">https://github.com/jcfr/VTKPyt<wbr>honPackage</a> and the plan<br>
>>> is to support "pip install vtk"<br>
>>><br>
>>> It will be similar to what we have done for ITK. See [1] and [2]<br>
>>><br>
>>> Hth<br>
>>> Jc<br>
>>><br>
>>> [1] <a href="https://github.com/InsightSoftwareConsortium/ITKPythonPackage" rel="noreferrer" target="_blank">https://github.com/InsightSoft<wbr>wareConsortium/ITKPythonPackag<wbr>e</a><br>
>>> [2] <a href="https://blog.kitware.com/itk-is-on-pypi-pip-install-itk-is-here/" rel="noreferrer" target="_blank">https://blog.kitware.com/itk-i<wbr>s-on-pypi-pip-install-itk-is-h<wbr>ere/</a><br>
>>><br>
>>> On Thu, Sep 21, 2017 at 4:16 PM, David E DeMarle<br>
>>> <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:<br>
>>>><br>
>>>> That's great, thanks Paul!<br>
>>>><br>
>>>><br>
>>>> David E DeMarle<br>
>>>> Kitware, Inc.<br>
>>>> Principal Engineer<br>
>>>> 21 Corporate Drive<br>
>>>> Clifton Park, NY 12065-8662<br>
>>>> Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><br>
>>>><br>
>>>> On Thu, Sep 21, 2017 at 4:13 PM, Paul Dao <<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> Hello:<br>
>>>>><br>
>>>>> There's been some discussion on uploading a "VTK" package to the Python<br>
>>>>> Package Index. The plan is to set this up at <a href="https://github.com/MacPython" rel="noreferrer" target="_blank">https://github.com/MacPython</a>. I<br>
>>>>> am not asking for any action on your part but I will grant you rights to the<br>
>>>>> repository and you can participate in the process if you want (it's your<br>
>>>>> project after all).<br>
>>>>><br>
>>>>> ______________________________<wbr>_________________<br>
>>>>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>>>>><br>
>>>>> Visit other Kitware open-source projects at<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
>>>>><br>
>>>>> Search the list archives at:<br>
>>>>> <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
>>>>><br>
>>>>> Follow this link to subscribe/unsubscribe:<br>
>>>>> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtk-developers</a><br>
>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> <a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtk-developers</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>