Skip to content

Commit

Permalink
Merge branch 'master' into jls713-streamgap
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Aug 20, 2015
2 parents c3deca7 + f92948a commit 2b5c72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -47,8 +47,7 @@ install:
- gem install coveralls-lcov
- easy_install --upgrade requests
- easy_install --upgrade coveralls
- pip install codecov
- if $REQUIRES_PYNBODY; then pip install git+git://github.com/pynbody/pynbody.git@cda64c8ac9fa59b83663b155d14d184eb33826a5; fi
- if $REQUIRES_PYNBODY; then pip install git+git://github.com/pynbody/pynbody.git; fi
- python setup.py build_ext --coverage --single_ext --inplace
- python setup.py develop --single_ext
script:
Expand All @@ -57,7 +56,6 @@ after_success:
# Generate lcov output
- lcov --capture --base-directory . --directory build/temp.linux-x86_64-2.7/galpy/ --output-file coverage.info
# Codecov
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then codecov; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then bash <(curl -s https://codecov.io/bash) -v; fi
# coveralls: combine, generate json, and upload
- coveralls-lcov -v -n coverage.info > coverage.c.json
Expand Down
2 changes: 1 addition & 1 deletion nose/test_orbit.py
Expand Up @@ -1254,7 +1254,7 @@ def test_fixedstepsize():
runtimes[ii]= time.time()-start
for ii,mult in enumerate(mults):
if ii == 0: continue
assert numpy.fabs(runtimes[ii]/runtimes[0]/mults[ii]*mults[0]-1.) < 0.3, 'Runtime of integration with fixed stepsize for integrator %s, type or orbit %s, stepsize reduction %i is not %i times less (residual is %g, times %g and %g)' % (integrator,type,mults[ii],mults[ii],
assert numpy.fabs(runtimes[ii]/runtimes[0]/mults[ii]*mults[0]-1.) < 0.4, 'Runtime of integration with fixed stepsize for integrator %s, type or orbit %s, stepsize reduction %i is not %i times less (residual is %g, times %g and %g)' % (integrator,type,mults[ii],mults[ii],
numpy.fabs(runtimes[ii]/runtimes[0]/mults[ii]*mults[0]-1.),mults[ii]/mults[0],runtimes[ii]/runtimes[0])
return None

Expand Down

0 comments on commit 2b5c72c

Please sign in to comment.