Skip to content

Commit 17b6726

Browse files
committed
Do not use make build on Travis
Travis is giving us a Python executable that it's already inside a virtualenv. So, using that executable to create another virtualenv does not work properly and all the packages are installed in the original virtualenv instead in the one created by the Makefile; which makes packages to not be found at `venv/bin/`. I'm using Travis `script` option to call the commands that we need just using the virtualenv they provide to us instead of calling `make build`.
1 parent 42b2fcd commit 17b6726

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ install:
99
- pospell --version
1010
- powrap --version
1111
script:
12-
- rm -rf /home/travis/build/python/python-docs-es/venv
13-
- make build
12+
- powrap --check --quiet **/*.po
13+
- awk 1 dict dictionaries/*.txt > dict.txt
14+
- pospell -p dict.txt -l es_AR -l es_ES **/*.po
15+
- pip install -q -r requirements.txt
16+
- PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
1417
branches:
1518
only:
1619
- /^3\.\d$/

0 commit comments

Comments
 (0)