Skip to content

Instantly share code, notes, and snippets.

@cancan101
Created March 24, 2015 05:52
Show Gist options
  • Save cancan101/ba68a80c0a0624ba41f5 to your computer and use it in GitHub Desktop.
Save cancan101/ba68a80c0a0624ba41f5 to your computer and use it in GitHub Desktop.

Revisions

  1. cancan101 created this gist Mar 24, 2015.
    34 changes: 34 additions & 0 deletions travis.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    sudo: true
    language: python
    cache:
    directories:
    - $HOME/.cache/pip
    python:
    - '2.7'
    env:
    - SERVICE=s1
    - SERVICE=s2
    - SERVICE=s3
    - SERVICE=s4
    before_install:
    - export D=$TRAVIS_BUILD_DIR/services/$SERVICE
    - cd $D
    - bash ./.travis-before_install.sh
    install:
    - cd $D
    - bash ./.travis-install.sh
    before_script:
    - cd $D
    - bash ./.travis-before_script.sh
    script:
    - cd $D
    - bash ./.travis-script.sh
    notifications:
    slack:
    secure: XXXXXX
    addons:
    hosts:
    - h1
    - h2
    - h3
    - h4