Skip to content

New travis matrix#328

Merged
Didou09 merged 68 commits intodevelfrom
deploy-test
Jan 21, 2020
Merged

New travis matrix#328
Didou09 merged 68 commits intodevelfrom
deploy-test

Conversation

@lasofivec
Copy link
Copy Markdown
Collaborator

Created a matrix for travis testing:

  • Now on mac, linux (trusty and xenial)
  • Deployment only on master branch
  • Deployment of wheel package if on mac
  • Added skip_existing so that all build pass always
  • Added possibility to test deployment if push to deploy-test branch.

@lasofivec lasofivec requested a review from flothesof January 20, 2020 17:31
@pep8speaks
Copy link
Copy Markdown

pep8speaks commented Jan 20, 2020

Hello @lasofivec! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-01-21 15:47:21 UTC

@lasofivec lasofivec requested review from Didou09 and removed request for flothesof January 20, 2020 17:31
@lasofivec lasofivec self-assigned this Jan 20, 2020
Copy link
Copy Markdown
Member

@Didou09 Didou09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for me, but:

  • It looks like the deployment to anaconda is not done in .travis.yaml anymore, or am I mistaken ?
  • There is more explicit error message for the volume computation error, which is good, but has the error itself been corrected somewhere ? (another branch ?)

Comment thread .travis.yml
@lasofivec
Copy link
Copy Markdown
Collaborator Author

  • There is more explicit error message for the volume computation error, which is good, but has the error itself been corrected somewhere ? (another branch ?)

Issue #314 was closed by PR #323

Comment thread .travis.yml
on:
tags: true
branch: master
skip_cleanup: true
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anaconda deployment being done here

Comment thread _updateversion.py
with open(version_py,'r') as fh:
version_git = fh.read().strip().split("=")[-1].replace("'",'')
version_git = version_git.lower().replace('v','')
except subprocess.CalledProcessError:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catching right exception

Comment thread setup.py
.decode()
)
if git_branch in ["master"]:
if git_branch in ["master", "deploy-test"]:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updating version on both deployment branches

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 21, 2020

Codecov Report

Merging #328 into devel will decrease coverage by 0.18%.
The diff coverage is 2.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #328      +/-   ##
==========================================
- Coverage   40.23%   40.04%   -0.19%     
==========================================
  Files          79       79              
  Lines       23993    24111     +118     
==========================================
+ Hits         9653     9656       +3     
- Misses      14340    14455     +115
Impacted Files Coverage Δ
tofu/imas2tofu/_core.py 0.67% <0%> (-0.03%) ⬇️
tofu/data/_plot.py 91.2% <0%> (+0.04%) ⬆️
tofu/data/_core.py 38.97% <0%> (-0.21%) ⬇️
tofu/geom/_core.py 63.19% <0%> (-0.15%) ⬇️
tofu/utils.py 47.93% <0%> (ø) ⬆️
tofu/data/_comp.py 19.93% <0%> (-0.46%) ⬇️
tofu/__init__.py 93.93% <100%> (ø) ⬆️
tofu/geom/utils.py 42.39% <30.43%> (-0.95%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6971f5...5e47a9e. Read the comment docs.

Copy link
Copy Markdown
Member

@Didou09 Didou09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for me !

@Didou09 Didou09 merged commit 885b85a into devel Jan 21, 2020
@Didou09
Copy link
Copy Markdown
Member

Didou09 commented Jan 21, 2020

I'll let you decide if you want to keep the branch

@lasofivec
Copy link
Copy Markdown
Collaborator Author

It's a matter of "taste" I guess. Same as with "new-doc". We can erase them, and recreate them when needed (ie. before testing a deployment and when updating the documentation). Branches are bit like "pointers" to commits, so I don't see a problem with erasing them, nor with keeping them (except for having too many active+stale branches).

@Didou09 Didou09 mentioned this pull request Jan 30, 2020
@Didou09 Didou09 mentioned this pull request Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants