Commit 033a013 1 parent 8296b1a commit 033a013 Copy full SHA for 033a013
File tree 4 files changed +1
-6
lines changed
4 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 24
24
- bash : nox -s generate_news -- --yes
25
25
displayName : Generate NEWS.rst
26
26
27
- - bash : tox -e packaging
28
- displayName : Run Tox packaging
29
-
30
27
- bash : python setup.py sdist bdist_wheel
31
28
displayName : Create sdist and wheel
32
29
Original file line number Diff line number Diff line change 20
20
env :
21
21
- TOXENV : docs
22
22
- TOXENV : lint
23
- - TOXENV : packaging
24
23
steps :
25
24
- uses : actions/checkout@master
26
25
- name : Set up Python ${{ matrix.env.PYTHON_VERSION || 3.7 }}
Original file line number Diff line number Diff line change 17
17
- stage : primary
18
18
env : TOXENV=docs
19
19
- env : TOXENV=lint
20
- - env : TOXENV=packaging
21
20
# Latest CPython
22
21
- env : GROUP=1
23
22
python : 2.7
Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
# Short circuit test runs if there are no code changes involved.
5
- if ! [[ $TOXENV ~ = ^( docs| lint | packaging)$ ]]; then
5
+ if [[ $TOXENV != docs ]] || [[ $TOXENV != lint ]]; then
6
6
if [[ " $TRAVIS_PULL_REQUEST " == " false" ]]
7
7
then
8
8
echo " This is not a PR -- will do a complete build."
You can’t perform that action at this time.
0 commit comments