.travis.yml 512 B

1234567891011121314151617181920212223242526272829303132333435
  1. language: python
  2. cache: pip
  3. sudo: required
  4. python:
  5. - "3.5"
  6. before_install:
  7. - pip install -U pip
  8. - pip install wheel
  9. - pip install coveralls
  10. - sudo apt-get update
  11. env:
  12. global:
  13. - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
  14. - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
  15. - THEANO_FLAGS='gcc.cxxflags="-march=core2",floatX=float32'
  16. install:
  17. - pip wheel -r requirements.txt
  18. - pip install -r requirements.txt
  19. script:
  20. - py.test . --cov=./
  21. - flake8 ./
  22. after_success:
  23. - coveralls