sudo: false
language: cpp
os:
  - linux
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - zlib1g-dev
      - libgsl0-dev
      - libqt4-opengl-dev
      - g++-4.8
      - python3
compiler:
  - clang
env:
  - python_version=2
  - python_version=3
install: 
  - export NUMBER_OF_PROCESSORS=4
  - export PATH=`pwd`/release/bin:`pwd`/scripts:${PATH}
  - export EIGEN_CFLAGS=-I`pwd`/eigen
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
  - (hg clone https://bitbucket.org/eigen/eigen/; cd eigen; hg update 3.2)
script:
        - check_memalign && if [ ${python_version} = "3" ]; then python3 ./configure -assert && python3 ./build -nowarnings && ./run_tests; else ./configure -assert && ./build -nowarnings && ./run_tests; fi

after_failure: 
  - cat memalign.log
  - cat configure.log
  - cat build.log
  - cat testing.log
  - sleep 10

sudo: false
language: cpp
os:
  - linux
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - zlib1g-dev
      - libgsl0-dev
      - libqt4-opengl-dev
      - g++-4.8
      - python3
compiler:
  - clang
env:
  - python_version=2
  - python_version=3
install: 
  - export NUMBER_OF_PROCESSORS=4
  - export PATH=`pwd`/release/bin:`pwd`/scripts:${PATH}
  - export EIGEN_CFLAGS=-I`pwd`/eigen
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
  - (hg clone https://bitbucket.org/eigen/eigen/; cd eigen; hg update 3.2)
script:
        - ./check_memalign && if [ ${python_version} = "3" ]; then python3 ./configure -assert && python3 ./build -nowarnings && ./run_tests; else ./configure -assert && ./build -nowarnings && ./run_tests; fi

after_failure: 
  - cat memalign.log
  - cat configure.log
  - cat build.log
  - cat testing.log
  - sleep 10

Fix TravisCI test to correctly invoke check_memalign
Fix TravisCI test to correctly invoke check_memalign
