forked from aigamedev/scikit-neuralnetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (20 loc) · 826 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
python:
- "2.7"
- "3.4"
before_install:
- wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ~/anaconda
- export PATH=~/anaconda/bin:$PATH
- conda update --yes --quiet conda
install:
- conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas cython matplotlib scikit-learn nose pyyaml
- source activate pyenv
- pip install -r https://raw.githubusercontent.com/aigamedev/scikit-neuralnetwork/master/requirements.txt
- pip install -q argparse coveralls
script:
- echo -e "[run]\nomit=\n *ae.py*\n sknn/backend/deepy/*\n sknn/backend/__init__.py*\n" > .coveragerc
- nosetests --with-coverage --cover-package=sknn -v sknn.tests
after_success:
- coveralls