.travis.yml 999 Bytes
Newer Older
1 2 3 4
---

sudo: 'required'
language: 'python'
5 6 7

matrix:
  include:
8 9 10 11 12 13 14 15 16 17

    - python: '2.7'
      env: 'MODE=docs'

    - python: '2.7'
      env: 'MODE=syntax'

    - python: '2.7'
      env: 'MODE=docker'

18
    - python: '2.7'
19 20 21 22 23
      env: 'MODE=build-sdist'

    - python: '3.6'
      env: 'MODE=ansible'

24
    - python: '3.5'
25 26 27 28 29
      env: 'MODE=ansible'

    - python: '2.7'
      env: 'MODE=ansible'

30
    - python: '3.6'
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
      env: 'MODE=build-wheel'

    - python: '3.5'
      env: 'MODE=build-wheel'

    - python: '2.7'
      env: 'MODE=build-wheel'

    - python: '3.6'
      env: 'MODE=test'

    - python: '3.5'
      env: 'MODE=test'

    - python: '2.7'
      env: 'MODE=test'
47 48

virtualenv:
49
  system_site_packages: false
50

51 52 53
services:
  - 'docker'

54 55 56 57
cache:
  directories:
    - '$HOME/.cache/pip'

58
before_install:
59
  - "${TRAVIS_BUILD_DIR}/lib/travis/${MODE}/before_install.sh"
60

61
install:
62
  - "${TRAVIS_BUILD_DIR}/lib/travis/${MODE}/install.sh"
63

64
script:
65
  - "${TRAVIS_BUILD_DIR}/lib/travis/${MODE}/script.sh"