2015-03-15 23:35:10 -03:00
|
|
|
language: python
|
2016-10-19 17:00:58 -04:00
|
|
|
env:
|
2016-10-20 19:48:38 -04:00
|
|
|
global:
|
|
|
|
- secure: "pvQHCsdcIRjwNvsBrZxP8cZWEwug0+PLg1T8841ZLkMdCaO3YheqmxF1xGjAqty6hLppz6vX1LFEKmPjKurLL0/i+be6MhT8/ZikFpSan7TdNUqISxeFx31ls+QpuFKzCV7ZEx7C1ms8LPWEGmzMMN6bCtOBVtGznD9KKWZmLlA="
|
2016-07-16 11:09:20 -07:00
|
|
|
matrix:
|
|
|
|
include:
|
2017-01-08 22:56:51 -05:00
|
|
|
- os: linux
|
2021-01-04 22:51:44 +05:30
|
|
|
python: 3.8
|
2017-02-12 12:05:32 -05:00
|
|
|
env:
|
2016-09-17 13:02:58 -07:00
|
|
|
- BUILD_DOCS=true
|
2016-07-22 15:38:16 +02:00
|
|
|
|
2016-07-23 10:47:22 -04:00
|
|
|
install:
|
2021-01-04 22:51:44 +05:30
|
|
|
- pip install --upgrade -r requirements/docs.txt
|
|
|
|
- pip install .
|
2016-07-22 15:38:16 +02:00
|
|
|
|
2015-03-15 23:35:10 -03:00
|
|
|
script:
|
2018-09-13 17:49:47 -04:00
|
|
|
- set -ex
|
2016-09-17 13:02:58 -07:00
|
|
|
- if [[ $BUILD_DOCS = true ]]; then
|
|
|
|
cd docs;
|
|
|
|
make html;
|
2016-10-19 17:00:58 -04:00
|
|
|
cd ..;
|
2017-03-17 11:38:12 -04:00
|
|
|
doctr deploy --deploy-repo xonsh/xonsh-docs dev;
|
2016-12-21 09:23:57 -05:00
|
|
|
git checkout $(git describe --tags `git rev-list --tags --max-count=1`);
|
2018-09-13 17:49:47 -04:00
|
|
|
git clean -fdx;
|
2018-09-13 17:38:57 -04:00
|
|
|
pip install --upgrade --force-reinstall .;
|
2016-12-21 09:23:57 -05:00
|
|
|
cd docs;
|
2016-12-23 18:42:45 -05:00
|
|
|
make clean html;
|
2016-12-21 09:23:57 -05:00
|
|
|
cd ..;
|
2017-03-17 11:38:12 -04:00
|
|
|
doctr deploy --deploy-repo xonsh/xonsh-docs .;
|
2016-10-12 08:32:20 -04:00
|
|
|
fi
|