grab-site/.travis.yml
Ivan Kozik ecea5ec002 Use --no-binary lxml now that newer pip broke --no-binary
File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 435, in _handle_no_binary
    value, existing.no_binary, existing.only_binary,
  File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/pip/_internal/models/format_control.py", line 46, in handle_mutual_excludes
    "--no-binary / --only-binary option requires 1 argument."
pip._internal.exceptions.CommandError: --no-binary / --only-binary option requires 1 argument.

https://travis-ci.org/ArchiveTeam/grab-site/builds/600264421
2019-10-20 08:38:52 +00:00

18 lines
383 B
YAML

language: python
sudo: required
dist: xenial
python:
- 3.7
before_install:
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends libxml2-dev libxslt1-dev libre2-dev pkg-config
install:
- travis_retry pip install --upgrade pip setuptools
- travis_retry pip install --no-binary lxml --upgrade .
script:
- ./tests/offline-tests
- ./tests/online-tests