summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b23c342509e3a2db760a8901f4f170a3af5eebac (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
dist: trusty
sudo: required
services:
  - docker
language: python
matrix:
  include:
    - env: TARGET=sanity TOXENV=py24
    - env: TARGET=sanity TOXENV=py26
      python: 2.6
    - env: TARGET=sanity TOXENV=py27
      python: 2.7
    - env: TARGET=sanity TOXENV=py34
      python: 3.4
    - env: TARGET=sanity TOXENV=py35
      python: 3.5
    - env: TARGET=centos6
    - env: TARGET=centos7 TARGET_OPTIONS="--volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
    - env: TARGET=fedora23 TARGET_OPTIONS="--volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
    - env: TARGET=fedora-rawhide TARGET_OPTIONS="--volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
    - env: TARGET=ubuntu1204
    - env: TARGET=ubuntu1404
addons:
  apt:
    sources:
      - deadsnakes
    packages:
      - python2.4
install:
  - pip install tox
script:
  - ./test/utils/run_tests.sh
notifications:
  irc:
    channels:
      - "chat.freenode.net#ansible-notices"
    on_success: change
    on_failure: always
    skip_join: true
    nick: ansibletravis