Skip to content

Commit

Permalink
ci: Cache APT packages
Browse files Browse the repository at this point in the history
Taken from:
discuss.circleci.com/t/add-ability-to-cache-apt-get-programs/598/4
  • Loading branch information
underyx committed Sep 9, 2016
1 parent dbc8774 commit 540177c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies:
cache_directories:
- ~/.apt-cache
- ~/.pyenv/versions/3.4.3
- ~/.pyenv/versions/3.5.1
- ~/coala-bears/node_modules
Expand All @@ -16,6 +17,7 @@ dependencies:
- ~/.julia
- ~/hlint_1.9.26-1_amd64.deb
pre:
- sudo rm -rf /var/cache/apt/archives && sudo ln -s ~/.apt-cache /var/cache/apt/archives && mkdir -p ~/.apt-cache/partial
- echo 'export PATH=$PATH:~/coala-bears/node_modules/.bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/coala-bears/vendor/bin' >> ~/.circlerc
- echo 'export LINTR_COMMENT_BOT=false' >> ~/.circlerc
Expand Down

0 comments on commit 540177c

Please sign in to comment.