Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
--only-deps flag to `stack build` #310
For CI, it's useful to distinguish build dependencies from building project packages. Granted, in principle with Stackage the dependency building part of the build should not fail, but there might be combinations of flags for which it could, and it's useful to have the build time for the project counted separately from the build time for the rest.
Also, Travis CI now supports caching. With
As noted somewhere at the bottom of that page, we need to be careful not to touch the folder that includes the dependencies artifacts when we build the project packages, in order to avoid invalidating the cache. This may or may not be an issue - depends if we're already doing that!
referenced this issue
Jun 15, 2015
Building stack from scratch on the Travis nodes works fine. I tried it this weekend: https://travis-ci.org/haskell-distributed/cloud-haskell/builds/66650203#L270