Hello everyone,
I understood what is this and how it works.
https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html?_ga=2.232539679.1066297125.1580062138-1024392904.1563281985#Cachingdependencies-custom-caches
caches:
- bundler #cache is defined below in the definitions section
script:
- bundle install --path vendor/bundle
I suppose I should put my script in this directory/file "vendor/bundle"
Here is the script I need to cache:
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- apt-get -qq install git-ftp
I don't know how to write it in "vendor/bundle"
Thanks