-
Notifications
You must be signed in to change notification settings - Fork 152
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 #246 from iacopoff/NSGA2
[WIP] added functionality to test current implementation of nsgaii algorithm and new version of nsgaii
- Loading branch information
Showing
172 changed files
with
36,655 additions
and
5,331 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
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,28 +1,39 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
- "3.6" | ||
#- "2.7" | ||
#- "3.5" | ||
- "3.7" | ||
# - "3.8" #Errors on Travis, build times out because no output was received... | ||
|
||
# command to install dependencies | ||
# this ubuntu distribution has sure the libopenmpi-dev packages available | ||
dist: bionic | ||
|
||
# command to install dependencies | ||
install: | ||
#- pip install pandas | ||
- sudo apt-get update | ||
- sudo apt install libopenmpi-dev openmpi-bin | ||
- pip install mpi4py | ||
- python setup.py install | ||
- pip install coveralls | ||
- pip install pathos | ||
- pip install numpy | ||
- pip install matplotlib | ||
- pip install scipy | ||
- pip install pandas | ||
- pip install pytest pytest-pep8 pytest-cov | ||
- pip install scipy | ||
- pip install click | ||
- pip install deap | ||
# Need to force pytest-cov to v2.6 as current version (2.6.1) is deprecated and pytest:3.10.1 | ||
- pip install pytest==3.10.1 pytest-pep8 pytest-cov==2.6 | ||
# Use docutils to generate html describe | ||
- pip install docutils | ||
#- pip install matplotlib | ||
#- travis_wait pip install scipy | ||
- pip install numba | ||
- pip install tables | ||
|
||
|
||
script: | ||
- py.test tests/test_* --cov spotpy --cov-report term-missing -v | ||
# - mpirun -c 4 python spotpy/examples/tutorial_parallel_computing_hymod.py 100 | ||
- pip uninstall spotpy -y | ||
- py.test spotpy/unittests/test_* spotpy/examples/tutorial_rosenbrock.py spotpy/examples/tutorial_nsgaii.py --cov spotpy --cov-report term-missing -v | ||
|
||
after_success: | ||
- coveralls |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include README.md | ||
include MANIFEST.in | ||
include setup.py | ||
include setup.cfg | ||
recursive-include spotpy/examples/cmf_data * | ||
recursive-include spotpy/examples/hymod_exe * | ||
recursive-include spotpy/examples/hymod_unix * | ||
recursive-include spotpy/examples/hymod_python * | ||
include LICENSE |
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.