This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad8ccbb
commit 7c2aadf
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
box: wercker/python | ||
# Build definition | ||
build: | ||
# The steps that will be executed on build | ||
steps: | ||
# A step that sets up the python virtual environment | ||
- virtualenv: | ||
name: setup virtual environment | ||
install_wheel: false # Enable wheel to speed up builds (experimental) | ||
|
||
# # 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. | ||
- pip-install | ||
|
||
# # 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" |