language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "pypy"
  - "pypy3"
before_install:
# install GCC v4.8 with better C++11 support, required to build Brotli extension
# See: https://github.com/travis-ci/travis-ci/issues/1379  
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get -qq update
  - sudo apt-get install -qq gcc-4.8
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - g++ --version
install:
  # To compile Brotli for pypy3 we also need to link libstdc++.
  # See: https://github.com/behdad/fonttools/issues/339
  - if [[ $TRAVIS_PYTHON_VERSION == pypy3 ]]; then
      pip install --global-option build_ext --global-option --libraries=stdc++ -vr requirements.txt;
    else
      pip install -vr requirements.txt;
    fi
  - make install
script:
  - make check
notifications:
  irc: "irc.freenode.org##fonts"
  email: fonttools@googlegroups.com

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "pypy"
#  - "pypy3" # Disable pypy3 until Travis updates it to >= 3.3
before_install:
# install GCC v4.8 with better C++11 support, required to build Brotli extension
# See: https://github.com/travis-ci/travis-ci/issues/1379  
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get -qq update
  - sudo apt-get install -qq gcc-4.8
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - g++ --version
install:
  # To compile Brotli for pypy3 we also need to link libstdc++.
  # See: https://github.com/behdad/fonttools/issues/339
  - if [[ $TRAVIS_PYTHON_VERSION == pypy3 ]]; then
      pip install --global-option build_ext --global-option --libraries=stdc++ -vr requirements.txt;
    else
      pip install -vr requirements.txt;
    fi
  - make install
script:
  - make check
notifications:
  irc: "irc.freenode.org##fonts"
  email: fonttools@googlegroups.com

Disable pypy3 until Travis updates it to >= 3.3
[Travis] Disable pypy3 until Travis updates it to >= 3.3
