language: python
python:
  - 2.7
  - 3.3
  - 3.4
  - 3.5
  - pypy
install:
  - pip install -e ".[test]"
script:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]];
    then
        py.test --doctest-modules --doctest-glob="*.rst" --ignore setup.py;
    else
        py.test;
    fi

language: python
python:
  - 2.7
  - 3.3
  - 3.4
  - 3.5
  - pypy
  - pypy3
install:
  - pip install -e ".[test]"
script:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]];
    then
        py.test --doctest-modules --doctest-glob="*.rst" --ignore setup.py;
    else
        py.test;
    fi

Add pypy3 to test matrix
Add pypy3 to test matrix
