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: sphinx:
configuration: documentation/source/conf.py configuration: documentation/source/conf.py
fail_on_warning: true fail_on_warning: true
python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs

View File

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

View File

@ -6,3 +6,4 @@ master_doc = 'index'
project = 'hypercore-crypto' project = 'hypercore-crypto'
templates_path = ['_templates'] templates_path = ['_templates']
extensions = ['sphinx.ext.autodoc', 'sphinx_autodoc_typehints'] 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] [testenv:docs]
description = build the documentation description = build the documentation
skip_install=True skipdist = True
extras = docs extras = docs
commands = commands =
python -m setup build_sphinx python -m setup build_sphinx