Skip to content

Commit af26602

Browse files
committed
test(travis): Try a workaround for BlockingIOError on Travis-CI
1 parent 39bf6fe commit af26602

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ matrix:
1010
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
1111
cache: pip
1212
before_install:
13+
# try a workaround to avoid BlockingIOError on Travis-CI for python 3.7. See
14+
# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352767521
15+
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
1316
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_cebf25e6c525_key
1417
-iv $encrypted_cebf25e6c525_iv -in .env.enc -out .env -d || true'
1518
- npm install npm@latest -g

0 commit comments

Comments
 (0)