language:
    - python

python:
    - "3.3"

before_install:
    - sudo apt-get update

install:
    - sudo apt-get install doxygen

before_script:
    - export SUGAR_ROOT=`pwd`

script:
    # test some example without GITENV_ROOT
    - cd examples
    - cd 05-groups
    - mkdir _builds
    - cd _builds
    - cmake ..
    - make
    - ./sources/module_a/main/module_a_bin
    - cd ../../..

    # emulate GITENV_ROOT for test.py
    - cd ..
    - export GITENV_ROOT=`pwd`
    - git clone --depth=1 --branch=master https://github.com/ruslo/configs
    - cd sugar
    # -- emulation end

    - cd ./examples
    - chmod +x ./test.py
    # exclude real GITENV_ROOT (see gitenv testing)
    - ./test.py --exclude ./03-gtest ./04-boost-detect ./09-rapidjson
    - make -C 08-doxygen/_builds/make-default/ public-doc # test installed doxygen

language:
    - python

python:
    - "3.3"

before_install:
    - sudo apt-get update
    - "wget https://launchpad.net/ubuntu/+source/cmake/2.8.8-2ubuntu1/+build/3441442/+files/cmake_2.8.8-2ubuntu1_amd64.deb"
    - "wget https://launchpad.net/ubuntu/+archive/primary/+files/cmake-data_2.8.8-2ubuntu1_all.deb"
    - "sudo apt-get remove cmake-data cmake"

install:
    - sudo apt-get install doxygen
    - "sudo dpkg --install cmake-data_2.8.8-2ubuntu1_all.deb cmake_2.8.8-2ubuntu1_amd64.deb"

before_script:
    - cmake --version
    - export SUGAR_ROOT=`pwd`

script:
    # test some example without GITENV_ROOT
    - cd examples
    - cd 05-groups
    - mkdir _builds
    - cd _builds
    - cmake ..
    - make
    - ./sources/module_a/main/module_a_bin
    - cd ../../..

    # emulate GITENV_ROOT for test.py
    - cd ..
    - export GITENV_ROOT=`pwd`
    - git clone --depth=1 --branch=master https://github.com/ruslo/configs
    - cd sugar
    # -- emulation end

    - cd ./examples
    - chmod +x ./test.py
    # exclude real GITENV_ROOT (see gitenv testing)
    - ./test.py --exclude ./03-gtest ./04-boost-detect ./09-rapidjson
    - make -C 08-doxygen/_builds/make-default/ public-doc # test installed doxygen

Update Travic CI cmake to 2.8.8
Update Travic CI cmake to 2.8.8
