Created
August 5, 2016 14:26
-
-
Save mikeckennedy/82b9d28dfd36e84d8c2ec34cbe75ec6b to your computer and use it in GitHub Desktop.
The Snap CI config settings to checkout, setup and test Talk Python Training at https://snap-ci.com
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
# Setup a virtual environment (running Python 3.5 foundation) | |
python -m venv ~/.python3_venv | |
# Activate the virtual environment | |
source ~/.python3_venv/bin/activate | |
# Install a few dependencies needed to bootstrap things | |
pip install setuptools nose mailchimp | |
# Register the website package (pyramid web app) as a package | |
# Include about 15 dependent packages | |
python ./src/talk-python-training/setup.py develop | |
# Run the unit tests via Nose | |
cd ./src/talk-python-training/talk_python_training/tests | |
nosetests --verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment