Files
dev/script/__Lib/diffcalc/.travis.yml
2019-03-20 13:52:00 +01:00

22 lines
523 B
YAML
Executable File

# based on https://www.topbug.net/blog/2012/05/27/use-travis-ci-with-jython/
language: python
python:
- "2.7"
env:
- JYTHON=false
- JYTHON=true
install:
- if [ "$JYTHON" == "true" ]; then . install-jython-environment.sh; fi
- if [ "$JYTHON" == "false" ]; then pip install pytest==3.10.1; pip install pytest-xdist; pip install scipy==1.0.0;fi
before_script:
- if [ "$JYTHON" == "true" ]; then export PYTEST=$HOME/jython/bin/pytest; else export PYTEST=pytest; fi
- echo PYTEST:- $PYTEST
script: $PYTEST