mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 07:20:31 +00:00
e1ffe1afaa
* increase size of index, line, and column fields * use size_t instead of unsigned long long * better test infrastructure for test for large file * only run large file test when env var is set * fix review comments regarding env vars * fix missing import on python 3 * force all tests in CI
46 lines
730 B
YAML
46 lines
730 B
YAML
# dist: xenial
|
|
|
|
language: python
|
|
|
|
cache: pip
|
|
|
|
env:
|
|
global:
|
|
- PYYAML_TEST_GROUP=all
|
|
|
|
matrix:
|
|
include:
|
|
- python: 2.7
|
|
env: TOXENV=py27
|
|
- python: 3.5
|
|
env: TOXENV=py35
|
|
- python: 3.6
|
|
env: TOXENV=py36
|
|
- python: 3.7
|
|
env: TOXENV=py37
|
|
- python: 3.8
|
|
env: TOXENV=py38
|
|
- python: 3.8-dev
|
|
env: TOXENV=py38
|
|
- python: pypy
|
|
env: TOXENV=pypy
|
|
|
|
# build libyaml
|
|
before_script:
|
|
- >-
|
|
cd /tmp
|
|
&& git clone https://github.com/yaml/libyaml.git libyaml
|
|
&& cd libyaml
|
|
&& git reset --hard 0.2.2
|
|
&& ./bootstrap
|
|
&& ./configure
|
|
&& make
|
|
&& make test-all
|
|
&& sudo make install
|
|
&& sudo ldconfig
|
|
&& cd "$TRAVIS_BUILD_DIR"
|
|
|
|
install: pip install cython tox
|
|
|
|
script: tox
|