2019-03-07 05:57:05 +00:00
|
|
|
# dist: xenial
|
|
|
|
|
2016-09-12 12:28:09 +00:00
|
|
|
language: python
|
|
|
|
|
2017-04-16 22:05:06 +00:00
|
|
|
cache: pip
|
2016-09-12 12:28:09 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
|
|
|
env: TOXENV=py27
|
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
2017-04-16 22:02:35 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
2019-07-31 00:40:33 +00:00
|
|
|
- python: 3.7
|
2018-01-31 08:29:58 +00:00
|
|
|
env: TOXENV=py37
|
2019-11-09 07:36:44 +00:00
|
|
|
- python: 3.8
|
|
|
|
env: TOXENV=py38
|
2019-07-31 00:40:33 +00:00
|
|
|
- python: 3.8-dev
|
|
|
|
env: TOXENV=py38
|
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
2016-09-12 12:28:09 +00:00
|
|
|
|
2018-06-29 22:28:06 +00:00
|
|
|
# build libyaml
|
|
|
|
before_script:
|
|
|
|
- >-
|
|
|
|
cd /tmp
|
2019-03-07 05:57:05 +00:00
|
|
|
&& git clone https://github.com/yaml/libyaml.git libyaml
|
2018-06-29 22:28:06 +00:00
|
|
|
&& cd libyaml
|
2019-03-07 05:57:05 +00:00
|
|
|
&& git reset --hard 0.2.2
|
2018-06-29 22:28:06 +00:00
|
|
|
&& ./bootstrap
|
|
|
|
&& ./configure
|
|
|
|
&& make
|
|
|
|
&& make test-all
|
|
|
|
&& sudo make install
|
|
|
|
&& sudo ldconfig
|
|
|
|
&& cd "$TRAVIS_BUILD_DIR"
|
|
|
|
|
2018-06-28 19:43:21 +00:00
|
|
|
install: pip install cython tox
|
2016-09-12 12:28:09 +00:00
|
|
|
|
2017-04-16 22:12:55 +00:00
|
|
|
script: tox
|