Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old travis/docker file. #126

Closed
russelljjarvis opened this issue Oct 24, 2017 · 3 comments
Closed

Old travis/docker file. #126

russelljjarvis opened this issue Oct 24, 2017 · 3 comments
Assignees

Comments

@russelljjarvis
Copy link
Contributor

russelljjarvis commented Oct 24, 2017

It would be cool if I could run my new non-core unit_test, tests using Travis-cl but by using a docker container that will go a bit further than anaconda, in enabling ipyparallel etc.

I think scidash/neuronunit used to have a good travis file (that I could use as a template), that pulled from docker-stacks, but I can't find it. I wonder if it might be in scidash/assets or something?

@rgerkin
Copy link
Contributor

rgerkin commented Oct 24, 2017

Take a look here. The left side is what the Travis file looked like when we were relying on Docker, so you can use something like that as a template.

I propose that you create a new branch that contains a travis file like this, and then whenever you want to run deep tests, you can pull changes from the other branches into it and that will trigger it to run. But otherwise when we are working on those other branches it won't run and so we won't have to worry about it.

@rgerkin rgerkin added the ready label Oct 24, 2017
@russelljjarvis
Copy link
Contributor Author

russelljjarvis commented Oct 24, 2017

AOK. The link to the diffing was broken (it's probably only visible from your login to GH) but I think I found a helpful enough version by splitting the link in half, which reveals the commit where the development switched from docker->anaconda.

ac26537?diff=split72ab7105f5dad1bc2cf6d62a31c06?diff=split

This is a good idea:

'I propose that you create a new branch that contains a travis file like this, and then whenever you want to run deep tests, you can pull changes from the other branches into it and that will trigger it to run. But otherwise when we are working on those other branches it won't run and so we won't have to worry about it.'

I think I will call it test_branch.

@rgerkin
Copy link
Contributor

rgerkin commented Nov 4, 2017

See also scidash/docker-stacks#24 for another idea. Basically, you create a Docker container with all the stuff you need, and when it is built, you push it to Docker Hub/Cloud, and Travis tests it with a simple script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants