Skip to content

Commit

Permalink
Build libyaml on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Jun 30, 2018
1 parent d3eb7da commit a2ea7d9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .travis.yml
Expand Up @@ -21,6 +21,17 @@ matrix:
- python: pypy
env: TOXENV=pypy

install: pip install tox
# build libyaml
before_script:
- >-
cd /tmp
&& git clone https://github.com/yaml/libyaml.git -b 0.2.1 libyaml
&& cd libyaml
&& ./bootstrap
&& ./configure
&& make
&& cd "$TRAVIS_BUILD_DIR"
install: pip install cython tox

script: tox
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -2,6 +2,7 @@
envlist = py26,py27,pypy,py34,py35,py36,py37

[testenv]
setenv = LD_LIBRARY_PATH = /tmp/libyaml/src/.libs
deps =
Cython
commands =
Expand Down

0 comments on commit a2ea7d9

Please sign in to comment.