Last active
December 19, 2015 23:08
-
-
Save jdfreder/6032166 to your computer and use it in GitHub Desktop.
Test for the 1.0 nbconvert nose suite
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
TRAVIS_PYTHON_VERSION="3.3" | |
sudo apt-add-repository ppa:fkrull/deadsnakes | |
sudo apt-get update | |
sudo apt-get install -y python$TRAVIS_PYTHON_VERSION | |
sudo rm /usr/bin/python | |
sudo ln -s /usr/bin/python$TRAVIS_PYTHON_VERSION /usr/bin/python | |
echo Testing install for... | |
python --version | |
sudo apt-get install -y curl | |
#sudo apt-get install -y python$TRAVIS_PYTHON_VERSION | |
#sudo apt-get install -y python$TRAVIS_PYTHON_VERSION-dev | |
sudo apt-get install -y build-essential | |
sudo wget https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py | |
sudo python ez_setup.py | |
sudo curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
sudo python get-pip.py | |
sudo pip install nose | |
cd ~/ | |
git clone https://github.com/jdfreder/ipython.git | |
cd ~/ipython | |
git checkout origin/new_tests | |
if [[ $TRAVIS_PYTHON_VERSION == '3.2'* ]]; then sudo pip install -Iv https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz; fi | |
if [[ ! $TRAVIS_PYTHON_VERSION == '3.2'* ]]; then sudo pip install jinja2; fi | |
sudo apt-get install -y pandoc | |
sudo easy_install -q pyzmq | |
sudo pip install pygments | |
sudo pip install sphinx | |
sudo python setup.py install -q | |
if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then iptest -w /tmp; fi | |
if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]]; then iptest3 -w /tmp; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment