os:
  - linux
  - osx

language: cpp
compiler: 
  - gcc
  - clang

before_script:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq > /dev/null
  - sudo apt-get install -qq gcc-4.8 g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo apt-get install -y -q cmake libasound2-dev
  - cd lib/cpp*
  - chmod +x ./configure
  - ./configure
  - cd ../../
  - cd lib/opus*
  - chmod +x ./configure
  - ./configure
  - cd ../../
  - mkdir build
  - cd build
  - cmake ../
  
script: make

after_script:
  - pwd
  - chmod +x test/Tests
  - sh test/Tests

os:
  - linux
  - osx

language: cpp
compiler: 
  - gcc
  - clang

before_script:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq > /dev/null
  - sudo apt-get install -qq gcc-4.8 g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo apt-get install -y -q cmake libasound2-dev
  - cd lib/cpp*
  - chmod +x ./configure
  - ./configure
  - cd ../../
  - cd lib/opus*
  - chmod +x ./autogen.sh
  - chmod +x ./configure
  - ./autogen.sh
  - ./configure
  - cd ../../
  - mkdir build
  - cd build
  - cmake ../
  
script: make

after_script:
  - pwd
  - chmod +x test/Tests
  - sh test/Tests

Fix for opus with Travis-CI
Fix for opus with Travis-CI