Skip to content

Instantly share code, notes, and snippets.

@mikeckennedy
Created August 5, 2016 14:26
Show Gist options
  • Save mikeckennedy/82b9d28dfd36e84d8c2ec34cbe75ec6b to your computer and use it in GitHub Desktop.
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
# 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