Skip to content

Commit ad42c73

Browse files
committed
Use ./python for regen-all in Travis CI test.
1 parent 8c86ec0 commit ad42c73

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,9 @@ install:
168168
# Travis provides only 2 cores, so don't overdo the parallelism and waste memory.
169169
before_script:
170170
# -Og is much faster than -O0
171-
- CFLAGS="${CFLAGS} -Og" ./configure --with-pydebug
172-
- eval "$(pyenv init -)"
173-
- pyenv global 3.8
174-
- PYTHON_FOR_REGEN=python3.8 make -j4 regen-all
171+
- CFLAGS="${CFLAGS} -Og" ./configure --with-pydebug PYTHON_FOR_REGEN=./python
172+
- make -j4
173+
- make -j4 regen-all
175174
- make regen-stdlib-module-names
176175
- changes=`git status --porcelain`
177176
- |
@@ -182,7 +181,6 @@ before_script:
182181
echo "$changes"
183182
exit 1
184183
fi
185-
- make -j4
186184
- make pythoninfo
187185

188186
script:

0 commit comments

Comments
 (0)