<commit_before>sudo: false

services:
  - couchdb # FIXME see ci/couchdb

cache:
  bundler: true
  directories:
    - $HOME/.pip-cache
    - $HOME/embedded

language: python
python:
  - "2.6"
  - "2.7"

matrix:
  fast_finish: true

env:
  global:
    - CONCURRENCY=2
    - NOSE_FILTER="not windows"
    - INTEGRATIONS_DIR=$HOME/embedded
    - PIP_CACHE=$HOME/.pip-cache
    - SKIP_CLEANUP=true
    - VOLATILE_DIR=/tmp
  matrix:
    - TRAVIS_FLAVOR=default
    - TRAVIS_FLAVOR=mongo
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.4.2
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.3.7
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.2.4
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.1.2
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.0.3
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=0.90.13
    - TRAVIS_FLAVOR=cassandra
    - TRAVIS_FLAVOR=sysstat
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.8"
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.6"
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.4"
    - TRAVIS_FLAVOR=memcache
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.4.0"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.3.5"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.2.9"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.1.14"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.0.18"
# FIXME: cannot enable gearman on Travis right now
# because it needs boost
#    - TRAVIS_FLAVOR=gearman
    - TRAVIS_FLAVOR=tomcat # JMX testing machine / need the other ones before
    - TRAVIS_FLAVOR=mysql
    - TRAVIS_FLAVOR=couchdb
    - TRAVIS_FLAVOR=snmpd
    - TRAVIS_FLAVOR=apache
    - TRAVIS_FLAVOR=nginx
    - TRAVIS_FLAVOR=lighttpd
    - TRAVIS_FLAVOR=haproxy
    - TRAVIS_FLAVOR=ssh

# Override travis defaults with empty jobs
before_install: echo "OVERRIDING TRAVIS STEPS"
install: echo "OVERRIDING TRAVIS STEPS"
before_script: echo "OVERRIDING TRAVIS STEPS"

script:
  - bundle install
  - 'ls -al $HOME/embedded'
  - 'rake ci:run'

after_failure:
  - echo "Logs from installation process come here / DEBUG LOGS"
  - cat /tmp/ci.log

after_error:
  - echo "Logs from installation process come here / DEBUG LOGS"
  - cat /tmp/ci.log

#notifications:
#  hipchat:
#    - secure: "DilCAl72f0WU54QIeHzwEfGn2at5+WzEfd3+sFARFyHNje4YLkELnF3iUw5aolaroNUc4Kr0NEYKmpsVQ9EWtKR2DosF2CdMNVv79hntYPyWwU+rfZTRI6NJlnTr1BMUEi7nMraVFDGbpYkXm/qqBPFKp8/cBOHbfNn9m+0dffg="<commit_msg>Only build master and forked branches<commit_after>sudo: false

branches:
  only:
    - master
    - /^\d+\.\d+\.x$/ # release forked patches branch

services:
  - couchdb # FIXME see ci/couchdb

cache:
  bundler: true
  directories:
    - $HOME/.pip-cache
    - $HOME/embedded

language: python
python:
  - "2.6"
  - "2.7"

matrix:
  fast_finish: true

env:
  global:
    - CONCURRENCY=2
    - NOSE_FILTER="not windows"
    - INTEGRATIONS_DIR=$HOME/embedded
    - PIP_CACHE=$HOME/.pip-cache
    - SKIP_CLEANUP=true
    - VOLATILE_DIR=/tmp
  matrix:
    - TRAVIS_FLAVOR=default
    - TRAVIS_FLAVOR=mongo
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.4.2
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.3.7
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.2.4
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.1.2
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=1.0.3
    - TRAVIS_FLAVOR=elasticsearch ES_VERSION=0.90.13
    - TRAVIS_FLAVOR=cassandra
    - TRAVIS_FLAVOR=sysstat
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.8"
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.6"
    - TRAVIS_FLAVOR=redis REDIS_VERSION="2.4"
    - TRAVIS_FLAVOR=memcache
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.4.0"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.3.5"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.2.9"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.1.14"
    - TRAVIS_FLAVOR=postgres PG_VERSION="9.0.18"
# FIXME: cannot enable gearman on Travis right now
# because it needs boost
#    - TRAVIS_FLAVOR=gearman
    - TRAVIS_FLAVOR=tomcat # JMX testing machine / need the other ones before
    - TRAVIS_FLAVOR=mysql
    - TRAVIS_FLAVOR=couchdb
    - TRAVIS_FLAVOR=snmpd
    - TRAVIS_FLAVOR=apache
    - TRAVIS_FLAVOR=nginx
    - TRAVIS_FLAVOR=lighttpd
    - TRAVIS_FLAVOR=haproxy
    - TRAVIS_FLAVOR=ssh

# Override travis defaults with empty jobs
before_install: echo "OVERRIDING TRAVIS STEPS"
install: echo "OVERRIDING TRAVIS STEPS"
before_script: echo "OVERRIDING TRAVIS STEPS"

script:
  - bundle install
  - 'ls -al $HOME/embedded'
  - 'rake ci:run'

after_failure:
  - echo "Logs from installation process come here / DEBUG LOGS"
  - cat /tmp/ci.log

after_error:
  - echo "Logs from installation process come here / DEBUG LOGS"
  - cat /tmp/ci.log

notifications:
  hipchat:
    - secure: "<KEY>
{'fraction_non_alphanumeric': 0.10154046430896073, 'fraction_numerical': 0.02603601648947711, 'mean_word_length': 3.4670542635658914, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5949095', 'n_tokens_mistral': 1989, 'n_tokens_neox': 1883, 'n_words': 316}