Fix codecov flags to exclude dashes.
[jelmer/dulwich.git] / .travis.yml
1 language: python
2 sudo: false
3 cache: pip
4
5 python:
6   - 2.7
7   - 3.3
8   - 3.4
9   - 3.5
10   - 3.5-dev
11   - 3.6
12   - 3.6-dev
13   - 3.7-dev
14   - pypy3.3-5.2-alpha1
15
16 env:
17   - PYTHONHASHSEED=random
18     TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
19
20 matrix:
21   include:
22     - python: pypy
23       env: TEST_REQUIRE=fastimport
24
25 install:
26   - travis_retry pip install -U pip coverage codecov $TEST_REQUIRE
27
28 script:
29   # Test without c extensions
30   - python -m coverage run --source=dulwich -m unittest dulwich.tests.test_suite
31   - codecov -c -F noext
32
33   # Test with c extensions
34   - python setup.py build_ext -i
35   - python -m coverage run --source=dulwich -m unittest dulwich.tests.test_suite
36   - codecov -c -F cext