forked from DEAP/deap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DEAP#1 from DEAP/master
Pull from upstream
- Loading branch information
Showing
53 changed files
with
3,773 additions
and
478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sudo: false | ||
language: python | ||
matrix: | ||
include: | ||
|
@@ -6,12 +7,25 @@ matrix: | |
- python: "3.4" | ||
env: NUMPY=numpy | ||
- python: "pypy" | ||
env: NUMPY="git+https://bitbucket.org/pypy/numpy.git" | ||
# command to install dependencies | ||
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 | ||
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then 2to3 --output-dir=py3k/deap -W -n deap; fi | ||
# command to run tests | ||
script: | ||
# run python3 tests from build/lib because the 2to3 from setup.py does not modify files in-place | ||
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then nosetests -v --where=build/lib; else nosetests -v; fi | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.