.travis.yml: add Python 3.5
[jelmer/dulwich.git] / .travis.yml
1 language: python
2 sudo: false
3 env:
4   global: TEST_RUNNER=unittest PYTHONHASHSEED=random
5 matrix:
6   include:
7     - python: "2.6"
8       env: TEST_RUNNER=unittest2.__main__ TEST_REQUIRE="gevent geventhttpclient fastimport unittest2"
9     - python: "2.7"
10       env: TEST_REQUIRE="gevent geventhttpclient fastimport"
11     - python: "pypy"
12       env: TEST_REQUIRE="fastimport"
13     - python: "3.4"
14       env: TEST_REQUIRE=
15     - python: "3.5"
16       env: TEST_REQUIRE=
17 cache:
18   directories:
19     - $HOME/.cache/pip
20 script:
21   - pip install pip --upgrade
22   - pip install $TEST_REQUIRE
23
24   # Test without c extensions
25   - python -m $TEST_RUNNER dulwich.tests.test_suite
26
27   # Test with c extensions
28   - python setup.py build_ext -i
29   - python -m $TEST_RUNNER dulwich.tests.test_suite
30