mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-11 00:49:36 +08:00
a46273ed0f
The current documentation is not currently used actively. Also, we are working towards not using Jenkins, in favor of something like travis-ci when zipline is open sourced, so we will have to be rethinking the documentation maintenance then.
23 lines
521 B
Bash
Executable File
23 lines
521 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#setup virtualenvironment
|
|
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.7
|
|
export WORKON_HOME=/mnt/jenkins_backups/virtual_envs
|
|
if [ ! -d $WORKON_HOME ]; then
|
|
mkdir $WORKON_HOME
|
|
fi
|
|
source /usr/local/bin/virtualenvwrapper.sh
|
|
|
|
mkvirtualenv zipline
|
|
workon zipline
|
|
pip install -r ./etc/requirements.txt
|
|
pip install -r ./etc/requirements_dev.txt
|
|
|
|
# Show what we have installed
|
|
pip freeze
|
|
|
|
#run all the tests in test. see setup.cfg for flags.
|
|
nosetests --config=jenkins_setup.cfg -I test_optimize
|
|
|
|
deactivate
|