-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
config.yml
48 lines (40 loc) · 1.31 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: 2
jobs:
build:
docker:
- image: cimg/python:3.8.11
working_directory: ~/gensim
steps:
- checkout
- restore_cache:
key: pip-cache
- run:
name: Apt install (for latex render)
command: |
sudo apt-get -yq update
sudo apt-get -yq remove texlive-binaries --purge
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk
sudo apt-get -yq install build-essential python3.8-dev
- run:
name: Basic installation (tox)
command: |
python3.8 -m virtualenv venv
source venv/bin/activate
pip install tox --progress-bar off
- run:
name: Build documentation
environment:
TOX_PARALLEL_NO_SPINNER: 1
TOX_PIP_OPTS: --progress-bar=off
command: |
source venv/bin/activate
tox -e compile,docs -vv
- store_artifacts:
path: docs/src/_build
destination: documentation
- save_cache:
key: pip-cache
paths:
- "~/.cache/pip"
- "~/.ccache"
- "~/.pip-cache"