keras/.travis.yml

20 lines
701 B
YAML
Raw Normal View History

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
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
2015-06-21 10:40:51 +00:00
python:
- "3.4"
# command to install dependencies
2015-06-21 21:45:23 +00:00
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest
# Coverage packages are on my binstar channel
- python setup.py install
2015-06-21 10:40:51 +00:00
# command to run tests
script: pytest