language: python

python:
  - 2.7
  - 3.2
  - 3.3
  - 3.4
  - 3.5
  - pypy
  - pypy3

addons:
  apt:
    packages:
      - xcb-proto
      - ghc
      - cabal-install
      - happy
      - alex
      - x11-apps
      - xvfb

install:
  - cabal update
  - cabal install --only-dependencies --enable-tests
  - cabal configure --enable-tests
  - pip install -r requirements.txt

script: "make -j3 check"

sudo: required
dist: trusty

language: python

python:
  - 2.7
  - 3.2
  - 3.3
  - 3.4
  - 3.5
  - 3.6
  - pypy
  - pypy3

addons:
  apt:
    packages:
      - xcb-proto
      - ghc
      - cabal-install
      - happy
      - alex
      - x11-apps
      - xvfb

install:
  - cabal update
  - cabal install --only-dependencies --enable-tests
  - cabal configure --enable-tests
  - pip install -r requirements.txt

script: "make -j3 check"

# pypy and pypy3 are currently not available in sudo-less Trusty builds, when
# available, we can switch to those
sudo: required
dist: trusty

Add 3.6 Python, move to sudo-less trusty
Travis: Add 3.6 Python, move to sudo-less trusty
