Update CI

This commit is contained in:
Jerome Kieffer 2015-10-29 11:11:54 +01:00
parent e0849cadcd
commit 450741c786
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
os:
- linux
# - osx
language: python
python:
- "2.6"
@ -13,6 +14,7 @@ python:
#virtualenv:
# system_site_packages: NO !!!
# the system python and the one from travis have been compiled with different options
addons:
apt:
packages:
@ -44,9 +46,10 @@ install:
- "pip install --trusted-host www.edna-site.org -r requirements_travis.txt"
# - "python info_platform.py"
- "python setup.py build"
- "pip install ."
- "python setup.py bdist_wheel"
- "pip install --pre --no-index --find-links dist/ pyFAI"
# command to run tests
script:
- "python setup.py build test"
- "(WD=$(pwd); cd /tmp && python $WD/run_tests.py -v)"
- "python setup.py test"
- "mkdir empty_folder; cd empty_folder; python ../run_tests.py -v; cd .."

View File

@ -46,7 +46,7 @@ install:
# Install the build and runtime dependencies of the project.
#pip install -i https://pypi.anaconda.org/carlkl/simple scipy
- "%CMD_IN_ENV% pip install --trusted-host pypi.anaconda.org -i https://pypi.anaconda.org/carlkl/simple numpy scipy"
- "%CMD_IN_ENV% pip install --trusted-host www.edna-site.org -i https://pypi.anaconda.org/carlkl/simple pyparsing --upgrade"
- "%CMD_IN_ENV% pip install --trusted-host www.edna-site.org -i http://www.edna-site.org/pub/wheelhouse pyparsing cython --upgrade"
- "%CMD_IN_ENV% pip install --trusted-host www.edna-site.org -r requirements_appveyor.txt"
- "del src\\histogram.c"
- "%CMD_IN_ENV% python setup.py build --no-openmp" #OpenMP is not available on python 3.4