]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - .travis.yml
.travis.yml: pin coverage version to 3.7.1. fixes ticket:2511
[tahoe-lafs/tahoe-lafs.git] / .travis.yml
index 10faa0f20448c0bcd69a1b4cab316deda37566af..8f72f9439de8b6223191ac2330b891cba4a67d37 100644 (file)
@@ -1,12 +1,22 @@
+sudo: false
 language: python
 python:
   - "2.7"
   - "2.6"
+  - "pypy"
 before_install:
   - sh -c set
-install: true
-before_script: python misc/build_helpers/show-tool-versions.py
-script: python setup.py test --reporter=timing
+  - git config --global user.email "travis-tahoe@tahoe-lafs.org"
+  - git config --global user.name "Travis Tahoe"
+  - git fetch --depth=1000
+  - python misc/build_helpers/show-tool-versions.py
+install:
+  - pip install 'coverage==3.7.1'  # see https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2511
+  - pip install coveralls
+before_script: python setup.py build
+script: bin/tahoe @coverage run --branch --source=src/allmydata @tahoe --version-and-path debug trial --rterrors --reporter=timing
+after_success:
+  coveralls
 notifications:
   email: false
   irc:
@@ -16,5 +26,7 @@ notifications:
     template:
       - "%{repository}#%{build_number} [%{branch}: %{commit} by %{author}] %{message}"
       - "Changes: %{compare_url} | Details: %{build_url}"
-    use_notice: true
-    skip_join: true
+matrix:
+  allow_failures:
+    - python: "pypy"
+  fast_finish: true