keras/.travis.yml

22 lines
647 B
YAML
Raw Normal View History

sudo: false
2015-06-21 10:40:51 +00:00
language: python
2015-06-21 21:45:23 +00:00
# Setup anaconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
2015-06-21 10:40:51 +00:00
python:
2015-09-07 14:28:03 +00:00
- "2.7"
2015-06-21 10:40:51 +00:00
- "3.4"
# command to install dependencies
2015-06-21 21:45:23 +00:00
install:
2015-09-07 14:28:03 +00:00
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py theano
- pip install pytest-cov python-coveralls
2015-06-21 10:40:51 +00:00
# command to run tests
2015-09-07 14:28:03 +00:00
script:
- PYTHONPATH=$PWD:$PYTHONPATH py.test -v --cov-report term-missing --cov keras tests/
after_success:
- coveralls