language: python
os:
  - linux
  - osx
python:
  - "3.2"
  - "3.3"
  - "3.4"
cache:
  apt: true
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq 
install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  - sudo apt-get install zlib1g-dev libbz2-dev libboost-dev
  - sudo apt-get install git-svn
  - sudo apt-get install python-pysam
  - pip install .
  - pip install -r requirements.txt
script: "./tests.sh"

language: python
os:
  - linux
  - osx
python:
  - "3.2"
  - "3.3"
  - "3.4"
cache:
  apt: true
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq 
install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  - sudo apt-get install zlib1g-dev libbz2-dev libboost-dev
  - sudo apt-get install git-svn
  - pip install .
  - pip install -r requirements.txt
script: "./tests.sh"

Revert "PySam installation from Ubuntu packages" - does not work in Travis version of Ubuntu
Revert "PySam installation from Ubuntu packages" - does not work in Travis version of Ubuntu

This reverts commit 6c38d3723cf55df1a772e1efe982550c07256418.
