test GL multiple python envs
image: continuumio/miniconda3:latest
-before_script:
+variables:
+ PY34: '3.4'
+ PY35: '3.5'
+ PY36: '3.6'
+# test script
+test-py36:
+ before_script:
# Set up conda
- - conda create -q -n test-environment python=3.5 numpy=1.11 scipy matplotlib pip setuptools pillow pyqt scikit-image scikit-learn
+ - conda create -q -n test-environment python=3.6 numpy scipy matplotlib pip setuptools pillow pyqt scikit-image scikit-learn
- source activate test-environment
# install deps
- - pip install pydicom coveralls requests jinja2 mpld3 click pyyaml tqdm==3.8
+ - pip install pydicom coveralls requests jinja2 pyyaml tqdm==3.8
# install your own package into the environment
- python setup.py install
# attempt to fix DISPLAY variable errors of matplotlib's. See: https://github.com/mwaskom/seaborn/pull/97
- cp tests/matplotlibrc .
+ script:
+ - python setup.py test
+# - coverage run --source=pylinac setup.py test
# test script
-test:
+test-py35:
+ before_script:
+ # Set up conda
+ - conda create -q -n test-environment python=3.5 numpy scipy matplotlib pip setuptools pillow pyqt scikit-image scikit-learn
+ - source activate test-environment
+
+ # install deps
+ - pip install pydicom coveralls requests jinja2 pyyaml tqdm==3.8
+
+ # install your own package into the environment
+ - python setup.py install
+ # attempt to fix DISPLAY variable errors of matplotlib's. See: https://github.com/mwaskom/seaborn/pull/97
+ - cp tests/matplotlibrc .
script:
- python setup.py test
# - coverage run --source=pylinac setup.py test
\ No newline at end of file
-
