forked from yaml/pyyaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (47 loc) · 911 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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: 3.7
arch: arm64
env: TOXENV=py37
- python: 3.8
arch: arm64
env: TOXENV=py38
- python: 3.8-dev
arch: arm64
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