blob: 55bb4976e063e9b93021161b31e8affba08165dd [file] [log] [blame]
language: python
sudo: false
cache: pip
matrix:
include:
- python: 2.6
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37
- python: pypy
env: TOXENV=pypy
# build libyaml
before_script:
- >-
cd /tmp
&& git clone https://github.com/yaml/libyaml.git -b 0.2.2-pre1 libyaml
&& cd libyaml
&& ./bootstrap
&& ./configure
&& make
&& make test-all
&& sudo make install
&& sudo ldconfig
&& cd "$TRAVIS_BUILD_DIR"
install: pip install cython tox
script: tox