language: cpp

install:
    - wget http://downloads.arduino.cc/arduino-1.6.1-linux64.tar.xz
    - tar -xf arduino-1.6.1-linux64.tar.xz
    - export ARD_HOME="`pwd`/arduino-1.6.1/"

script:
    - make debug=1
    - cd test/ ; make && make test

language: cpp

before_install:
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
    - sudo apt-get update -qq

install:
    - 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

    - wget http://downloads.arduino.cc/arduino-1.6.1-linux64.tar.xz
    - tar -xf arduino-1.6.1-linux64.tar.xz
    - export ARD_HOME="`pwd`/arduino-1.6.1/"

script:
    - make debug=1
    - cd test/ ; make && make test

Install and use g++ 4.8 because... it is 2015!
Install and use g++ 4.8 because... it is 2015!
