From ad072dd79d90e134529a6aec8a556a6c97796e73 Mon Sep 17 00:00:00 2001 From: Pedro Date: Sat, 27 Feb 2016 15:55:43 +0100 Subject: [PATCH] add travis.yml --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fe4a470 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ + +install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get -qq update + - sudo apt-get install -y bison flex + - sudo apt-get install -y g++-4.8 libstdc++-4.8-dev + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 + - which g++ + - g++ -v + +language: cpp + +compiler: + - gcc + +script: + - make + - sudo make install + - make test \ No newline at end of file