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