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

sudo: false with rasterio deps #2

Closed
dnomadb opened this issue Sep 1, 2015 · 2 comments
Closed

sudo: false with rasterio deps #2

dnomadb opened this issue Sep 1, 2015 · 2 comments

Comments

@dnomadb
Copy link
Contributor

dnomadb commented Sep 1, 2015

As per chat w/ @yhahn (https://mapbox.slack.com/archives/satellite/p1441040393007215 + many other convos), we want to able to have modules such as this testable on travis w/ sudo: false. However, I am not sure how to accomplish this on a repo that uses rasterio, which has dependencies that are installed via sudo apt-get install ....

@sgillies can you help guide me in this?

@sgillies
Copy link
Contributor

sgillies commented Sep 1, 2015

@dnomadb czech out https://github.com/mapbox/node-pxm-pydeps/blob/master/.travis.yml. Not only Rasterio but Scipy, Scikit-*. Nevermind the the deploy sections.

It's going to be easier for tile-stitcher: declare it a python language project and you can ditch the virtualenv BS in node-pxm-pydeps's before_install section: Travis gives you a working, current virtualenv for free with a python project.

A less complicated example to follow is: https://github.com/mapbox/rio-mbtiles/blob/master/.travis.yml. Write up: https://github.com/mapbox/hey/issues/4672.

@dnomadb
Copy link
Contributor Author

dnomadb commented Sep 1, 2015

Thx @sgillies , dialed w/ 43338ff

@dnomadb dnomadb closed this as completed Sep 1, 2015
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