{"action":"created","issue":{"url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/10","repository_url":"https://api.github.com/repos/mroberge/hydrofunctions","labels_url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/10/comments","events_url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/10/events","html_url":"https://github.com/mroberge/hydrofunctions/issues/10","id":297342817,"number":10,"title":"It takes too long for Travis to build everything.","user":{"login":"mroberge","id":6432867,"avatar_url":"https://avatars0.githubusercontent.com/u/6432867?v=4","gravatar_id":"","url":"https://api.github.com/users/mroberge","html_url":"https://github.com/mroberge","followers_url":"https://api.github.com/users/mroberge/followers","following_url":"https://api.github.com/users/mroberge/following{/other_user}","gists_url":"https://api.github.com/users/mroberge/gists{/gist_id}","starred_url":"https://api.github.com/users/mroberge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroberge/subscriptions","organizations_url":"https://api.github.com/users/mroberge/orgs","repos_url":"https://api.github.com/users/mroberge/repos","events_url":"https://api.github.com/users/mroberge/events{/privacy}","received_events_url":"https://api.github.com/users/mroberge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-15T06:36:45Z","updated_at":"2018-05-11T00:10:26Z","closed_at":null,"author_association":"OWNER","body":"* HydroFunctions version: 0.1.4\r\n* Python version: 3.4 mostly\r\n* Operating System:\r\n\r\n### Description\r\n\r\nTravis can take 2-3 minutes to download and build my dependencies, especially Pandas.\r\n\r\n### Solution\r\nIt might be possible to use conda to build everything. see this:\r\n\r\nhttps://gist.github.com/dan-blanchard/7045057\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/comments/388222162","html_url":"https://github.com/mroberge/hydrofunctions/issues/10#issuecomment-388222162","issue_url":"https://api.github.com/repos/mroberge/hydrofunctions/issues/10","id":388222162,"user":{"login":"mroberge","id":6432867,"avatar_url":"https://avatars0.githubusercontent.com/u/6432867?v=4","gravatar_id":"","url":"https://api.github.com/users/mroberge","html_url":"https://github.com/mroberge","followers_url":"https://api.github.com/users/mroberge/followers","following_url":"https://api.github.com/users/mroberge/following{/other_user}","gists_url":"https://api.github.com/users/mroberge/gists{/gist_id}","starred_url":"https://api.github.com/users/mroberge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroberge/subscriptions","organizations_url":"https://api.github.com/users/mroberge/orgs","repos_url":"https://api.github.com/users/mroberge/repos","events_url":"https://api.github.com/users/mroberge/events{/privacy}","received_events_url":"https://api.github.com/users/mroberge/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T00:10:26Z","updated_at":"2018-05-11T00:10:26Z","author_association":"OWNER","body":"My build went much faster this time! My Python 3.4 builds used to take 9 minutes or so, while Python 3.5 and 3.6 took about 1 minute and 10 seconds.  In commit 07dffff I changed my .travis.yml so that I did a `pip install --upgrade pip setuptools wheel` which updated pip from 9.0.1 to 10.0.1. This helped a little, but probably wasn't necessary. Then, I added `pip install --only-binary=numpy,scipy,pandas,Ipython numpy scipy pandas ipython`, which really sped things up!  With only numpy and scipy installed this way, it took 7 minutes to install, with the whole thing it took about 59 seconds: see [Travis build #167](https://travis-ci.org/mroberge/hydrofunctions/builds/377519489). \r\n\r\nIn the future, another possible solution is to use caching to keep binary files that had been successfully built and use them in future builds. More on that here: https://docs.travis-ci.com/user/caching/"}}
{"actor":{"display_login":"mroberge"}}