Browse Source

Add debian-specific .travis.yml.

Jelmer Vernooij 8 years ago
parent
commit
ba5a708d18
2 changed files with 10 additions and 33 deletions
  1. 9 33
      .travis.yml
  2. 1 0
      debian/source/options

+ 9 - 33
.travis.yml

@@ -1,36 +1,12 @@
-language: python
-sudo: false
-env:
-  global: TEST_RUNNER=unittest PYTHONHASHSEED=random
-matrix:
-  include:
-    - python: "2.7"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "pypy"
-      env: TEST_REQUIRE="fastimport"
-    - python: "3.4"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "3.5"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "3.5-dev"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "3.6"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "3.6-dev"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-    - python: "3.7-dev"
-      env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
-cache:
-  directories:
-    - $HOME/.cache/pip
-script:
-  - pip install pip --upgrade
-  - pip install $TEST_REQUIRE
+sudo: required
+language: generic
 
-  # Test without c extensions
-  - python -m $TEST_RUNNER dulwich.tests.test_suite
+services:
+  - docker
 
-  # Test with c extensions
-  - python setup.py build_ext -i
-  - python -m $TEST_RUNNER dulwich.tests.test_suite
+script:
+  - wget -O- http://travis.debian.net/script.sh | sh -
 
+branches:
+  except:
+    - /^debian\/\d/

+ 1 - 0
debian/source/options

@@ -0,0 +1 @@
+extend-diff-ignore = "^\.travis.yml$"