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:
- python: nightly
before_install: .travis/setup.sh
install: travis_retry .travis/install.sh
script: .travis/run.sh

View File

@ -2,8 +2,5 @@
set -e
set -x
git config --global user.email "pypa-dev@googlegroups.com"
git config --global user.name "pip"
pip install --upgrade setuptools
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"