summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 39268bf2ce3518af8ec404ffe56021c3367a44cd (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
dist: trusty
sudo: required
services:
  - docker
language: python
matrix:
  include:
    - 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
    - env: TARGET=sanity TOXENV=py26
      python: 2.6
    - env: TARGET=sanity TOXENV=py27
      python: 2.7
    - env: TARGET=sanity TOXENV=py35
      python: 3.5
    - env: TARGET=sanity TOXENV=py24
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
  webhooks:
    # trigger Buildtime Trend Service to parse Travis CI log
    - https://buildtimetrend.herokuapp.com/travis