.travis.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. dist: precise
  2. language: python
  3. sudo: false
  4. addons:
  5. apt:
  6. packages:
  7. - libatlas3gf-base
  8. - libatlas-dev
  9. - libatlas-base-dev
  10. - liblapack-dev
  11. - gfortran
  12. - python-scipy
  13. python:
  14. - 2.7.13
  15. env:
  16. matrix:
  17. # This environment tests the newest supported anaconda env
  18. - DISTRIB="conda" PYTHON_VERSION="2.7" INSTALL_MKL="true"
  19. NUMPY_VERSION="1.15.1" SCIPY_VERSION="1.1.0" PANDAS_VERSION="0.23.4"
  20. SIX_VERSION="1.10.0" COVERAGE="true"
  21. - DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_MKL="true"
  22. NUMPY_VERSION="1.15.1" SCIPY_VERSION="1.1.0" PANDAS_VERSION="0.23.4"
  23. SIX_VERSION="1.10.0" COVERAGE="true"
  24. # This environment tests minimal dependency versions
  25. - DISTRIB="conda_min" PYTHON_VERSION="2.7" INSTALL_MKL="false"
  26. SIX_VERSION="1.10.0" NUMPY_VERSION="1.8.2" SCIPY_VERSION="0.14.0" COVERAGE="true"
  27. - DISTRIB="conda_min" PYTHON_VERSION="3.4" INSTALL_MKL="false"
  28. SIX_VERSION="1.10.0" NUMPY_VERSION="1.8.2" SCIPY_VERSION="0.14.0" COVERAGE="true"
  29. # basic Ubuntu build environment
  30. - DISTRIB="ubuntu" PYTHON_VERSION="2.7" INSTALL_ATLAS="true"
  31. COVERAGE="true"
  32. # This environment tests for mpi
  33. - DISTRIB="mpi" PYTHON_VERSION="3.5" INSTALL_MKL="false"
  34. NUMPY_VERSION="1.15.1" SCIPY_VERSION="1.1.0" SIX_VERSION="1.10.0"
  35. MPI_VERSION="2.0.0" COVERAGE="true" MPI="true"
  36. install: source continuous_integration/install.sh
  37. script: bash continuous_integration/test_script.sh
  38. after_success:
  39. - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
  40. cache: apt