dilawar / PlotDigitizer

A Python utility to digitize plots.
GNU General Public License v3.0
122 stars 23 forks source link

CICD: Fix the travis deployment #5

Closed KikeM closed 4 years ago

KikeM commented 4 years ago

Hi!

The build is reported as failing, but when I have checked the Travis pipeline one can see that it works correctly until the end.

The reason to report as broken is this line in your deployment script defined in .travis.yml:

sh -e /etc/init.d/xvfb start

What is the need behind this line?

Cheers

dilawar commented 4 years ago

The CI issue summarised well here https://benlimmer.com/2019/01/14/travis-ci-xvfb/ and official instructions are here https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui .

Unfortunately, I could fix is satisfactory. So instead --plot showing up the plot, it takes an additional filename and saves the plot to this file.

KikeM commented 4 years ago

Great, I am glad your pipeline is up again ;)

dilawar commented 4 years ago

Thanks for reporting. The Travis CI was broken for a year after they made changes to their YAML parser.