1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Travis: Move non-installation commands to a separate file

This commit is contained in:
Pradyun Gedam 2018-05-27 18:12:41 +05:30
parent 61b011293b
commit e630e0c903
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B
3 changed files with 7 additions and 3 deletions

View file

@ -46,6 +46,7 @@ matrix:
allow_failures: allow_failures:
- python: nightly - python: nightly
before_install: .travis/setup.sh
install: travis_retry .travis/install.sh install: travis_retry .travis/install.sh
script: .travis/run.sh script: .travis/run.sh

View file

@ -2,8 +2,5 @@
set -e set -e
set -x set -x
git config --global user.email "pypa-dev@googlegroups.com"
git config --global user.name "pip"
pip install --upgrade setuptools pip install --upgrade setuptools
pip install --upgrade tox pip install --upgrade tox

6
.travis/setup.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -e
echo "Setting Git Credentials..."
git config --global user.email "pypa-dev@googlegroups.com"
git config --global user.name "pip"