From 9ae77aff629bd8547f25271aa7be3e40044a3f13 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sun, 5 Apr 2020 23:00:41 +0200 Subject: [PATCH] Try not to use DejaVu fonts for Windows tests --- .travis.yml | 2 +- weasyprint/tests/testing_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d08fe3b..8972358a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ addons: before_install: - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export "PATH=$PATH;C:\msys64\mingw64\bin"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y python dejavufonts; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y python; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget "http://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20180531.tar.xz"; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then 7z e msys2-base-x86_64-20180531.tar.xz; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then 7z x -y msys2-base-x86_64-20180531.tar -oc:\\; fi diff --git a/weasyprint/tests/testing_utils.py b/weasyprint/tests/testing_utils.py index cd10b2d9..923a72b0 100644 --- a/weasyprint/tests/testing_utils.py +++ b/weasyprint/tests/testing_utils.py @@ -22,7 +22,7 @@ from ..urls import path2url # Lists of fonts with many variants (including condensed) if sys.platform.startswith('win'): # pragma: no cover - SANS_FONTS = 'DejaVu Sans, Arial Nova, Arial, sans' + SANS_FONTS = 'Arial Nova, Arial, sans' MONO_FONTS = 'Courier New, Courier, monospace' else: # pragma: no cover SANS_FONTS = 'DejaVu Sans, sans'