language: python
python:
  - "2.7"
  - "2.6"
install:
  - "pip install . --use-mirrors"
script: python pytest.py
env:
      global:
      - secure: "fMcBUM5+gIqqhLUIoBcy4ErV/F6BLIajyLR4Jff7VMVqEXJzfJ7yh/T9C+K2cnCyAODg0PgOuZNdobiW/wM+HUnknB7/K/6EzeLG4JwYEWNtoL6QI/oMw2wDYD8X5FYsIAzKhJHfbXkv0DzmX16ksPbHJ5d89azwoPYLpA6lA1U="
      - secure: "nIkW8qKCSZMiyxISWoL74x08Z6/tcAfor9hvuuD0804KYqgK98EdFQWaGOnp3loPCqLTbTcmxggUgIlPgCAdkMUrur0WBE23FgbDuguBbWwOn+A984pFp6k1p+fY7/z4is3vBU8y+qLTAXQuUQxdvh9D9qJXQsp6mOyAMS8LWHM="

language: python
python:
  - "2.7"
  - "2.6"
install:
  - "pip install . --use-mirrors"
script: python tests/test_facebook.py
env:
      global:
      - secure: "fMcBUM5+gIqqhLUIoBcy4ErV/F6BLIajyLR4Jff7VMVqEXJzfJ7yh/T9C+K2cnCyAODg0PgOuZNdobiW/wM+HUnknB7/K/6EzeLG4JwYEWNtoL6QI/oMw2wDYD8X5FYsIAzKhJHfbXkv0DzmX16ksPbHJ5d89azwoPYLpA6lA1U="
      - secure: "nIkW8qKCSZMiyxISWoL74x08Z6/tcAfor9hvuuD0804KYqgK98EdFQWaGOnp3loPCqLTbTcmxggUgIlPgCAdkMUrur0WBE23FgbDuguBbWwOn+A984pFp6k1p+fY7/z4is3vBU8y+qLTAXQuUQxdvh9D9qJXQsp6mOyAMS8LWHM="

Use unittest instead of weird pytest.
Use unittest instead of weird pytest.

Since Travis mentions having pytest support, I was confused about why
all builds were failing with a "pytest not found" error. I eventually
realized that my dev virtualenv contains Logilab's "pytest" [0] instead
of "pytest" [1].

This commit should have a passing build (fingers crossed).

[0]: Part of the logilab-common module: https://bitbucket.org/logilab/logilab-common
[1]: https://pypi.python.org/pypi/pytest
