Skip to content

Commit 73a4c52

Browse files
authored
Merge pull request #2382 from AndreMiras/feature/fix_travis
🐛 Fixes pip command on Travis and bumps actions/setup-python
2 parents 406a258 + db615eb commit 73a4c52

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Checkout python-for-android
1212
uses: actions/checkout@v2
1313
- name: Set up Python 3.7
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v2.2.1
1515
with:
1616
python-version: 3.7
1717
- name: Run flake8
@@ -32,7 +32,7 @@ jobs:
3232
- name: Checkout python-for-android
3333
uses: actions/checkout@v2
3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v2
35+
uses: actions/setup-python@v2.2.1
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838
- name: Tox tests

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
- type -t deactivate && deactivate || true
2525
- export PATH=/opt/python/3.7.1/bin:$PATH
2626
# Install tox
27-
- pip3.7 install tox>=2.0
27+
- python3.7 -m pip install tox>=2.0
2828
# Install coveralls & dependencies
2929
# Note: pyOpenSSL needed to send the coveralls reports
30-
- pip3.7 install pyOpenSSL
31-
- pip3.7 install coveralls
30+
- python3.7 -m pip install pyOpenSSL
31+
- python3.7 -m pip install coveralls
3232
script:
3333
# ignores test_pythonpackage.py since it runs for too long
3434
- tox -- tests/ --ignore tests/test_pythonpackage.py

0 commit comments

Comments
 (0)