-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 839 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
language: python
matrix:
include:
- python: "2.7"
env: NUMPY=numpy
- python: "3.4"
env: NUMPY=numpy
- python: "pypy"
env: NUMPY="git+https://bitbucket.org/pypy/numpy.git"
# command to install dependencies and translate deap in py3k
install:
- python setup.py install
- pip install $NUMPY
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then 2to3 --output-dir=py3k/deap -W -n deap; fi
# command to run tests
script:
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then nosetests -v --where=py3k; else nosetests -v; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f17745fc250ffb09c0e9
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false