mirror of https://github.com/silx-kit/pyFAI.git
27 lines
670 B
YAML
27 lines
670 B
YAML
os: linux
|
|
dist: xenial
|
|
language: python
|
|
python:
|
|
- "3.7"
|
|
- "3.8"
|
|
- "3.9"
|
|
|
|
|
|
install:
|
|
- "python ci/info_platform.py"
|
|
- "pip install --upgrade setuptools<60.0.0"
|
|
- "pip install --upgrade pip wheel"
|
|
- "pip install --upgrade numpy"
|
|
- "pip install --upgrade cython"
|
|
- "pip install --upgrade -r ci/requirements_travis.txt"
|
|
- "if [ -f ci/install_pyopencl.sh ]; then bash ci/install_pyopencl.sh ; fi"
|
|
- "python ci/info_platform.py"
|
|
- "python setup.py build"
|
|
- "python setup.py bdist_wheel"
|
|
- "pip install --pre --no-index --find-links dist/ pyFAI"
|
|
|
|
# command to run tests
|
|
script:
|
|
- "python run_tests.py -m"
|
|
- "python ./run_tests.py -m --installed"
|