Skip to content

Instantly share code, notes, and snippets.

@mies
Last active December 29, 2015 15:29
Show Gist options
  • Save mies/7691298 to your computer and use it in GitHub Desktop.
Save mies/7691298 to your computer and use it in GitHub Desktop.
python yml
box: wercker/python
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that sets up the python virtual environment
# # Use this virtualenv step for python 3.2
# - virtualenv
# name: setup virtual environment
# python_location: /usr/bin/python3.2
# A step that executes `pip install` command.
# This pip-install clears the local wheel cache
# - pip-install:
# clean_wheel_dir: true
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo python information
code: |
echo "python version $(python --version) running"
echo "pip version $(pip --version) running"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment