.travis.yml 872 B

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