circle.yml
machine:
node:
version: 4.5.0
pre:
- curl https://install.meteor.com | /bin/sh
general:
branches:
only:
- master
- develop
dependencies:
cache_directories:
- "~/.npm"
- "~/.meteor"
- "node_modules"
- "./.meteor/local/build"
- "./.meteor/local/bundler-cache"
- "./.meteor/local/isopacks"
- "./.meteor/local/plugin-cache"
- "/home/ubuntu/nvm/versions/node/v4.5.0/bin"
- "/home/ubuntu/nvm/versions/node/v4.5.0/lib/node_modules"
override:
- ./.testing/upgrade_chrome_version.sh
- ./.testing/cache_meteor.sh
- ./.testing/cache_npm_dependencies.sh
- ./.testing/cache_build_and_dependencies.sh
- chimp --path=features # Cache chimp deps by running it without any tests
checkout:
post:
- git submodule sync
- git submodule update --init --recursive
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/cucumber
override:
- cd ../app/bundle