blob: 9c6d34c32c62cb6b36052c6b46ab417369c502a2 [file] [log] [blame]
David Reid6b609bb2013-11-06 11:44:15 -08001#!/bin/bash
2
3set -e
4set -x
5
6if [[ "${OPENSSL}" == "0.9.8" ]]; then
7 sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ lucid main"
8fi
9
10if [[ "${TOX_ENV}" == "pypy" ]]; then
11 sudo add-apt-repository -y ppa:pypy/ppa
12fi
13
14sudo apt-get -y update
15
16if [[ "${OPENSSL}" == "0.9.8" ]]; then
17 sudo apt-get install -y --force-yes libssl-dev/lucid
18fi
19
David Reid27529242013-11-06 13:13:53 -080020if [[ "${TOX_ENV}" == "pypy" ]]; then
David Reid6b609bb2013-11-06 11:44:15 -080021 sudo apt-get install -y pypy
22
23 # This is required because we need to get rid of the Travis installed PyPy
24 # or it'll take precedence over the PPA installed one.
25 sudo rm -rf /usr/local/pypy/bin
26fi
27
28pip install tox coverage