Skip to content

Commit

Permalink
Refactoring installation for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Nov 25, 2018
1 parent 95191b7 commit 7ed8c37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew upgrade python
fi

pip3 install setuptools --upgrade
pip3 install .[test]
pip3 install tox --upgrade
else
pip install setuptools --upgrade
pip install .[test]
pip install tox --upgrade
fi
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
envlist = python{2.7,3.4,3.5,3.6,3.7},cov

[testenv]
autoupgrade_pip = true
deps =
pytest
--upgrade
.[test]
commands =
python setup.py test

0 comments on commit 7ed8c37

Please sign in to comment.