-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (36 loc) · 1.01 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
sudo: false
language: python
branches:
only:
- master
- develop
matrix:
include:
- python: "2.7"
env: NUMPY=numpy
- python: "3.4"
env: NUMPY=numpy
- python: "pypy"
env: NUMPY="git+https://bitbucket.org/pypy/[email protected]#egg=numpy"
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
# command to install dependencies and translate deap in py3k
install:
- python setup.py install
- pip install $NUMPY
- pip install future
- 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