Comments (22)
your call. should only take a couple of minutes to get things setup with our jenkins, or you can use one that github provides. We have complete control over ours, no idea what they provide.
from gpfit.
Another thing to consider is any dependencies you have. I don't know what machines they are providing for the CI testing, or what means you have to install your dependencies.
Let me know what you want me to do. I just need to know how to run your test (which I assume is the same as gpkit), and what dependencies you have for gpfit.
from gpfit.
Well, I started looking into TravisCI just so we could check out another CI setup, but quickly learned that "Python builds are not available on the OSX environment." That's enough to make me uncomfortable with Travis as a CI solution for our Python project.
Therefore, @galbramc if you could help us get set up on jenkins we'd really appreciate it. Dependencies for gpfit are:
- numpy
- gpkit
from gpfit.
I presume you want both pull request and push configurations just like you have with gpkit. I also presume you want me to use the master branch of gpkit as the dependency?
from gpfit.
correct, and correct.
probably don't need to test for multiple solvers -- the part of gpkit that gpfit uses doesn't involve solvers.
from gpfit.
ok, so do I need to build gpkit, or can I just add the gpkit to the python path?
from gpfit.
I'm not sure --
We definitely want to be testing gpfit against a current version of gpkit, such as that installed by pip install gpkit
. Would the "add the gpkit to the python path" solution automatically keep gpkit up to date at the resolution of our PyPI releases?
from gpfit.
Ok, how about I create a virtualenv were I install gpkit every time we run the tests. That way you always have what you get with pip. Sound good?
Also, could you add from .run_tests import run to init.py in gpfit/tests just for consistency?
from gpfit.
sounds great.
Just did so in #32. Do you need that change on master or should I leave that branch open as the first test of jenkins/CI?
from gpfit.
Sure leave it open as the first test so I can get the script sorted out
from gpfit.
Do you want pylint? If so, you should probably add the pylint.cfg file from gpkit and grab the code from run() in run_tests.py
from gpfit.
You also need to give acdl-jenkins the same privlages to gpfit as it has for gpkit before I can test
from gpfit.
- ok, I gave acdl-jenkins access
- by grab the code in run_tests, I assume you mean the xmloutput stuff. Done -- added to this PR.
- I want pylint and added the config file to this PR, but I'm confused / have a question. I don't actually see pylint warnings over at gpkit, even though I know we have lots of them. Can you re-educate us on how to see how we're doing on pylint?
from gpfit.
hmmm, still getting this error:
Couldn't create web hook for repository hoburg/gpfit. Does the user (from global configuration) have admin rights to the repository?
Yes the xml stuff.
Let me check the pylint stuff
from gpfit.
nope, has write access, which is the same setting as gpkit. Does it need admin access?
from gpfit.
Yeah I think it needs admin access...
from gpfit.
Same goes for gpkit, I have seen some complaints about gpkit as well, and this might explain why
from gpfit.
Here is what is going on with pylint:
https://acdl.mit.edu/csi/job/gpkit_PullRequest/658/buildnode=reynolds,optimizer=mosek/violations/
You currently have 728 violation, however the jenkins default configuration was to allow 999 violations, so this is why you have not gotten any failed builds from pylint.
I can lower the number, but you probably need to start an initiative to become pylint compliant. Presumably it will be easier to get gpfit compliant as it appears to be smaller at the moment.
from gpfit.
We could gradually lower the threshold so you don't have to fix all problems at once
from gpfit.
I'm around all day today if you want to get this wrapped up. We should also talk about the pylint configuration
from gpfit.
coming over now
from gpfit.
add .pylintrc and pylint.sh to the repo and then I think you can close this issue
(don't forget about test/pylint.cfg)
from gpfit.
Related Issues (20)
- Make GPfit object oriented HOT 1
- Unit tests fail for pip-installed gpfit HOT 21
- Update how random seeds are set HOT 3
- Save random seed with fit HOT 2
- Pretty output for when verbosity=1 HOT 3
- Remove duplication of _Fit.params and _Fit.parameters HOT 3
- User should be able to specify number of sig figs HOT 2
- Errors should be given in percentage terms HOT 7
- Should a user supply data in its original or log-transformed form HOT 1
- Issue with plot functionality (or tutorial documentation) HOT 3
- Ali and I are breaking the multi-dimensional fits HOT 12
- Not compatible with pandas >= 0.19.0 HOT 4
- modularized tests through JenkinsGPkit HOT 11
- too small a value error in "min(exp(B*alpha))" while running ISMA fit HOT 11
- 'FitCS' object has no attribute 'left'
- Add GPfit to PyPI HOT 2
- It's time for a new GPfit logo
- run_tests returns error HOT 2
- v0.1 refactor HOT 10
- Use scipy implementation of Levenberg Marquardt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpfit.