Skip to content

Commit

Permalink
Merge acf63ad into 46acf08
Browse files Browse the repository at this point in the history
  • Loading branch information
thouska committed Sep 7, 2020
2 parents 46acf08 + acf63ad commit 65be326
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ python:
- "3.7"
# - "3.8" #Errors on Travis, build times out because no output was received...

# Uses cache to build faster
cache: pip

# this ubuntu distribution has sure the libopenmpi-dev packages available
dist: bionic

Expand All @@ -31,8 +34,28 @@ install:


script:
- py.test tests/test_* --cov spotpy --cov-report term-missing -v
- 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
after_success:
- coveralls

jobs:
include:
- stage: Coveralls
name: Report Coveralls
after_success: python3 -m coveralls

# Publish spotpy on PyPi if taged
deploy:
# If you need to deploy files Travis has built, use the next line
skip_cleanup: true
provider: pypi
distributions: sdist bdist_wheel gztar
on:
# In this case I want to deploy only when a tag is present...
tags: true
# ... and when tag is on master and respects the form "v0.0.0"
branch:
- master
- /v?(\d+\.)?(\d+\.)?(\*|\d+)$/
user: thouska
password : ${deploying}
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
author_email = 'tobias.houska@umwelt.uni-giessen.de',
url = 'https://spotpy.readthedocs.io/en/latest/',
license = 'MIT',
install_requires=[
'scipy', 'numpy', 'logging'],
packages=find_packages(exclude=["tests*", "docs*"]),
use_2to3 = True,
keywords = 'Monte Carlo, MCMC, MLE, SCE-UA, Simulated Annealing, DE-MCz, DREAM, ROPE, Artifical Bee Colony, DDS, PA-DDS, Uncertainty, Calibration, Model, Signatures',
Expand Down

0 comments on commit 65be326

Please sign in to comment.