Merge pull request #1 from datpy/get-travis-running

Install libsodium in the CI environment
This commit is contained in:
decentral1se 2019-10-05 22:00:50 +02:00 committed by GitHub
commit d0799d36db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 9 deletions

View File

@ -6,11 +6,3 @@ build:
sphinx:
configuration: documentation/source/conf.py
fail_on_warning: true
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs

View File

@ -1,5 +1,10 @@
language: python
addons:
apt:
packages:
- libsodium-dev
matrix:
include:
- python: 3.6

View File

@ -6,3 +6,4 @@ master_doc = 'index'
project = 'hypercore-crypto'
templates_path = ['_templates']
extensions = ['sphinx.ext.autodoc', 'sphinx_autodoc_typehints']
autodoc_mock_imports = ['pysodium'] # no libsodium in the RTD environment

View File

@ -56,7 +56,7 @@ commands =
[testenv:docs]
description = build the documentation
skip_install=True
skipdist = True
extras = docs
commands =
python -m setup build_sphinx