I’m deploying to Galaxy with CircleCI, this is my YAML file:
## Customize the test machine
machine:
timezone:
Asia/Manila # Set the timezone
dependencies:
pre:
- cd src && npm install # install all node dependencies
cache_directories:
- "src/node_modules"
- "~/.npm"
- "~/.meteor"
override:
- if [ -d ~/.meteor ]; then sudo ln -s ~/.meteor/meteor /usr/local/bin/meteor; fi
- if [ ! -e $HOME/.meteor/meteor ]; then curl https://install.meteor.com | sh; fi
test:
override:
- cd src && npm run lint # use ESLINT for testing
deployment:
staging:
branch: staging
commands:
- sh ./deploy.sh --staging
What surprises me is that meteor-tool always downloads when we deploy, which of course skyrockets the run time of a CI build to 15 minutes. Is there a way to set it up so that the meteor-tool does not need to be downloaded all the time?