Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (46 sloc) 1.32 KB
language: python
# The idea here is to test all supported versions of python with xcb-proto
# master, and then do some testing on older xcb-proto versions to make sure we
# don't regress. We probably don't need the full matrix, so let's save
# travis-ci some $$.
matrix:
include:
- python: 2.7
env: XCBVER=master
- python: 3.4
env: XCBVER=master
- python: 3.5
env: XCBVER=master
- python: 3.6
env: XCBVER=master
- python: pypy
env: XCBVER=master
- python: pypy3
env: XCBVER=master
- python: 3.6
env: XCBVER=xcb-proto-1.13
- python: 3.6
env: XCBVER=1.12
- python: 3.6
env: XCBVER=1.11
addons:
apt:
packages:
- happy
- alex
- x11-apps
- xvfb
install:
- sudo apt-add-repository -y ppa:hvr/ghc && sudo apt update && sudo apt install cabal-install-2.0 ghc-7.10.3
- export PATH=$PATH:/opt/cabal/2.0/bin:/opt/ghc/7.10.3/bin
- cabal update
- cabal install --only-dependencies --enable-tests
- git clone http://github.com/aslatter/xcb-types
- ( cd xcb-types && cabal configure && cabal install )
- cabal configure --enable-tests
- pip install -r requirements.txt
- git clone http://anongit.freedesktop.org/git/xcb/proto.git
- ( cd proto && git checkout "$XCBVER" )
script: "make XCBDIR=$TRAVIS_BUILD_DIR/proto/src check"
sudo: required
dist: trusty