File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ language : python
2+ python : [2.7, 3.4, 3.5, 3.6]
3+ env :
4+ # Remove following environment variables after nirum-python 0.6.0 is released.
5+ - DEVRUNTIME_REPO=dahlia/nirum-python DEVRUNTIME_REF=transport
6+ install :
7+ - pip install tox-travis
8+ - mkdir "$HOME/bin"
9+ script :
10+ - tox -e devruntime
11+ - tox
12+ - tox -e docs
13+ - ' [[ "$TRAVIS_TAG" = "" ]] || [[ "$TRAVIS_TAG" = "$(python setup.py --version)" ]]'
14+ - |
15+ if git show --format=%B --quiet "$TRAVIS_COMMIT_RANGE$TRAVIS_TAG" | grep '\[changelog skip\]' > /dev/null; then
16+ echo "Skip changelog checker..."
17+ elif [[ "$TRAVIS_TAG" != "" ]]; then
18+ ! grep -i "to be released" README.rst
19+ else
20+ [[ "$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep CHANGES\.rst)" != "" ]]
21+ fi
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ commands =
2929
3030[testenv:docs]
3131basepython = python3
32- deps = docutils
32+ deps =
33+ docutils
34+ Pygments
3335commands =
3436 rst2html.py --strict CHANGES.rst
3537 rst2html.py --strict README.rst
You can’t perform that action at this time.
0 commit comments