summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 4f96bc5b80712cdbe3f663e6ad10c2d8b481d0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
sudo: false
language: python
matrix:
  include:
    - python: "2.6"
      env: WITH_OPTIONAL_DEPS=no TEST_SPHINX=no
    - python: "2.6"
      env: WITH_OPTIONAL_DEPS=yes TEST_SPHINX=no
    - python: "2.7_with_system_site_packages"
      env: WITH_OPTIONAL_DEPS=no TEST_SPHINX=no
    - python: "2.7_with_system_site_packages"
      env: WITH_OPTIONAL_DEPS=yes TEST_SPHINX=yes
install:
  - testsuite/install.sh
  - pip install -e .
script:
  - nosetests testsuite
after_failure:
  - pip freeze
branches:
  except:
    - maint-1.2
    - 1.1.0-stable
notifications:
  email: chris.a.st.pierre@gmail.com
  irc:
    channels:
      - "irc.freenode.org#bcfg2"
    use_notice: true
addons:
  apt:
    packages:
      - swig
      - libxml2-utils
      - yum
      - libaugeas0
      - augeas-lenses
      - libacl1-dev
      - libssl-dev
      - python-gamin
      - python-selinux
cache:
  directories:
    - $HOME/.cache/pip
before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log