Skip to content
Snippets Groups Projects
Commit 855a581b authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Run tests on .travis.yml

parent fa5dc9f9
No related merge requests found
......@@ -7,7 +7,7 @@ language: python
virtualenv:
system_site_packages: false
before_install:
- sudo apt-get install -y ninja build-essential
- sudo apt-get install -y ninja-build build-essential
addons:
apt:
update: true
......@@ -24,8 +24,7 @@ before_script:
- git config --global user.name "Your Name"
script:
- pip install -e .
- tox
- |
- python setup.py test
after_success:
- if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
after_script:
......
......@@ -43,6 +43,9 @@ fi
# for all
pip install -U pip setuptools
pip install tox
pip install codecov
# use newest pystencils
pip install git+https://github.com/mabau/pystencils.git
if [[ "$COVERAGE" == "true" ]]; then
pip install -U pytest-cov pytest-virtualenv coverage coveralls flake8
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment