File: travis_setup.sh

package info (click to toggle)
python-bottle 0.12.7-1%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 1,568 kB
  • ctags: 2,288
  • sloc: python: 5,711; makefile: 68; sh: 62
file content (16 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e
set -x

if test -n "$PY"; then
  # https://github.com/pycurl/pycurl/blob/master/tests/travis/setup.sh
  sudo add-apt-repository -y ppa:fkrull/deadsnakes
  sudo apt-get update
  sudo apt-get install python$PY-dev

  if test "$PY" = 2.5; then
    wget -O - http://python-distribute.org/distribute_setup.py | sudo python$PY
    sudo easy_install-$PY simplejson
  fi
fi