forked from hydpy-dev/hydpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (27 loc) · 1.72 KB
/
.travis.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
language: python
os: linux
dist: jammy
matrix:
include:
- python: 3.9
- python: 3.12
install:
- pip install --upgrade pip virtualenv
- pip install --upgrade -r requirements.txt
script:
- python prepare_build.py
- python -m build
- if [ $TRAVIS_PYTHON_VERSION == "3.9" ] ; then nox -s "doctest(numpy='1')"; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then pip install ghp-import; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then nox -s sphinx; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then nox -s black; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then nox -s mypy; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then nox -s pylint; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then nox -s check_consistency; fi
- if [ $TRAVIS_PYTHON_VERSION == "3.12" ] ; then python hydpy/docs/combine_docversions.py ; fi
env:
global:
- COVERAGE_PROCESS_START=/home/travis/build/hydpy-dev/hydpy/hydpy/tests/.coveragerc
- secure: KkDNiyCWcOtSMHzwmR7WuUM9Z08sigox9fgiRaWtdDTNHGHbNRXCf6Rzr32QlThqu9SwwPd5VnEJkontzrG9uTL2rlEzCKJHp4Ncq0lmCBhOJEM7favpIGwjnWQt4kZZ+G/sy9rfV6rshiOMN2rHRkt1gYzRmHTPCEQQ5eVIb7/YnFO+Gc77FGgkqWJXTfYczUMHNL5F3pfdSUbnnsDoqq3dxZ+NtdY6R87+IOT9fclrsL8zcodJC8N2oyGeTfhRcrZESneVcR/NEx6KhVC8A9/8bWK7kc8cYB6ieLo31uU+Ht7UvDzXmXfZrA8FoRbiDaJ3ktW9RQ7BR0GKGyQm/y/bLUrR7Yo2AXLPrF1DvBt8DYvcnMkJ1sNOrJI+oOpfi7AfdxVJnGbWa8w4D5B6EJSCvQwOj1REXgOf8+VrOKUqZMxPCCDDOhKPSx3/9ng7NAT+yRk7pLqKVtJEEszYs2/wK8hask4JMaz9H06b+Dy5nHnr4RQffXPPwAArSZZdu9IC3/38Lqnk+HhUWZLbKnBMd8UdRbDdZ5aFAkK7ZLseiDaAzCE31FscQbNmwpUPgfxgz/ApWZSV/WHlVZvaNBPkK0DTk5b9iW3WeLOC+qXGYzBKTUHIFQbCKEh40P0pTeDlp0sK3bWnT0VPEXJhk0jEN60RrlB9lwLdSzJg4Gs=
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == "3.12" ]]; then python publish_docs_copy.py ; fi