.travis.yml 964 B

1234567891011121314151617181920212223242526272829303132333435
  1. sudo: false
  2. language: python
  3. python:
  4. - 2.6
  5. - 2.7
  6. - 3.4
  7. - 3.5
  8. install:
  9. # Install conda
  10. - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  11. - bash miniconda.sh -b -p $HOME/miniconda
  12. - export PATH="$HOME/miniconda/bin:$PATH"
  13. - conda config --set always_yes yes --set changeps1 no
  14. - conda update conda
  15. # Install dependencies
  16. - conda create -n bcolz_env python=$TRAVIS_PYTHON_VERSION
  17. numpy pandas cython nose coverage numexpr dask
  18. - source activate bcolz_env
  19. - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda install unittest2 mock; fi
  20. - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda install mock; fi
  21. # Build bcolz
  22. - python setup.py build_ext --inplace
  23. script:
  24. - nosetests --with-coverage --cover-package bcolz bcolz/tests/test_*.py
  25. after_success:
  26. - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then bash ./coveralls_after_test_succes.sh; fi
  27. notifications:
  28. email: false