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

Change cache directories in .travis.yml #109

Closed
chshersh opened this issue Jul 26, 2018 · 2 comments
Closed

Change cache directories in .travis.yml #109

chshersh opened this issue Jul 26, 2018 · 2 comments
Assignees
Labels

Comments

@chshersh
Copy link
Contributor

Now cache is always for stack directories in every case. This probably should be changed as well.

        cache:
          directories:
          - "$$HOME/.stack"
          - "$$TRAVIS_BUILD_DIR/.stack-work"
@chshersh chshersh added the bug label Jul 26, 2018
@chshersh chshersh added this to the v1.1 Upgrade milestone Jul 26, 2018
@chshersh chshersh assigned ghallak and willbasky and unassigned ghallak Jul 27, 2018
@willbasky
Copy link
Collaborator

Now cache is always for stack directories in every case.

What cases can there be?

This probably should be changed as well.

Change to what?

@chshersh
Copy link
Contributor Author

@willbasky summoner has an ability to chose what project you want to create:

  • Only cabal
  • Only stack
  • Both

These are all valid cases. And in all cases there's only cache for stack in generated .travis.yml file (which is wrong). This should be changed to the following:

  • Only cabal cache directories if only cabal project is created
  • Only stack cache directories if only stack project is created
  • Both cache directories if both options are selected

chshersh pushed a commit that referenced this issue Jul 31, 2018
* [#109] Fix travis cache

* Fix style

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

No branches or pull requests

3 participants