Skip to content

Instantly share code, notes, and snippets.

@gregorynicholas
Last active February 16, 2016 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregorynicholas/e0cf7165633be98bd2fd to your computer and use it in GitHub Desktop.
Save gregorynicholas/e0cf7165633be98bd2fd to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
rm -rf virtualenvs venv .pyenv
#: customize the virtual machine..
#: https://circleci.com/docs/manually
#: https://circleci.com/docs/configuration
machine:
timezone:
America/Los_Angeles
environment:
PATH: $HOME/.pyenv/bin:$HOME/.pyenv/versions/2.7.11/bin:$PATH
PYENV_ROOT: $HOME/.pyenv
PYENV_VERSION_BIN_DIR: $HOME/.pyenv/versions/2.7.11/bin
PYFLAKES_NODOCTEST: 1
PIP_VIRTUALENV_BASE: $
VIRTUALENVWRAPPER_SCRIPT: $HOME/.pyenv/versions/2.7.11/bin/virtualenvwrapper.sh
WORKON_HOME: $HOME/.virtualenvs
NVM_DIR: $HOME/.nvm
NVM_SCRIPT: $HOME/.nvm/nvm.sh
DEBUG: 1
VELOCITY_DEBUG: 1
JASMINE_BROWSER: PhantomJS
#: checkout, cloning git repository.
#: $PWD defaults to $HOME
checkout:
post:
- scripts/checkout.sh
#: setup project language-specific dependencies
dependencies:
cache_directories:
- $HOME/.nvm
- $HOME/.npm
- $HOME/.virtualenvs
- $HOME/.pyenv
pre:
- scripts/dependencies.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment