Dulwich.io dulwich / 4ff5e40
Build pure wheels on travis. (#713) Build pure wheels on travis. Jelmer Vernooń≥ authored 3 months ago GitHub committed 3 months ago
1 changed file(s) with 8 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1212 env:
1313 - PYTHONHASHSEED=random
1414 TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
15 PURE=false
1516
1617 matrix:
1718 include:
2122 env: TEST_REQUIRE=fastimport
2223 dist: xenial
2324 sudo: true
25 - python: 3.6
26 env: PURE=true
27 - python: 2.7
28 env: PURE=true
2429 # flakes checker fails on python 3.8-dev:
2530 #- python: 3.8-dev
2631 # env: TEST_REQUIRE=fastimport
3136 - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
3237
3338 script:
34 # Test without c extensions
35 - python -m coverage run -p -m unittest dulwich.tests.test_suite
36
37 # Test with c extensions
38 - python setup.py build_ext -i
39 - if [ $PURE = false ]; then python setup.py build_ext -i; fi
3940 - python -m coverage run -p -m unittest dulwich.tests.test_suite
4041
4142 # Style
4243 - make style
4344
44 - python setup.py bdist_wheel
45 - if [ $PURE = true ]; then SETUP_ARGS=--pure; fi
46 - python setup.py $SETUP_ARGS bdist_wheel
4547
4648 after_success:
4749 - python -m coverage combine