sudo: false

language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - kalakris-cmake
    packages:
    - gcc-4.7
    - g++-4.7
    - cmake

install:
  # Make sure the proper C and C++ compilers are used
  - export CC=gcc-4.7
  - export CXX=g++-4.7
  # Install dependencies
  - travis_retry pip install --install-option="--no-cython-compile" Cython==0.21
  - travis_retry pip install numpy
  # Put libdynd sources in the right place so they are built with dynd-python.
  - mkdir libraries
  - pushd libraries
  - git clone https://github.com/libdynd/libdynd.git
  - popd
  # Build dynd-python
  - python setup.py install

script:
  - pushd ~
  - python -c 'import dynd; dynd.test(verbosity=2, exit=True)'
  - popd

notifications:
  email: false
  flowdock: "b08b3ba4fb86fa48121e90b5f67ccb75"
  on_success: "change"
  on_failure: "always" # "change"

sudo: false

language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - kalakris-cmake
    packages:
    - gcc-4.7
    - g++-4.7
    - cmake

install:
  # Make sure the proper C and C++ compilers are used
  - export CC=gcc-4.7
  - export CXX=g++-4.7
  # Install dependencies
  - travis_retry pip install --install-option="--no-cython-compile" Cython==0.21
  - travis_retry pip install numpy
  # Put libdynd sources in the right place so they are built with dynd-python.
  - mkdir libraries
  - pushd libraries
  - git clone --depth=1 https://github.com/libdynd/libdynd.git
  - popd
  # Build dynd-python
  - python setup.py install

script:
  - pushd ~
  - python -c 'import dynd; dynd.test(verbosity=2, exit=True)'
  - popd

notifications:
  email: false
  flowdock: "b08b3ba4fb86fa48121e90b5f67ccb75"
  on_success: "change"
  on_failure: "always" # "change"

Switch git clone depth to 1 when cloning libdynd. This will work fine since the Travis build only needs a deeper revision history for the repository it is running the tests on.
Switch git clone depth to 1 when cloning libdynd. This will work fine
since the Travis build only needs a deeper revision history for the
repository it is running the tests on.
