Skip to content

Commit

Permalink
TRAVIS: Added .travis.yml configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfuhrmann committed Aug 24, 2015
1 parent 513de69 commit f4e3dda
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
os: linux
language: cpp
compiler: gcc
sudo: false

branches:
only:
- master

before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

before_script:
- wget https://github.com/google/googletest/archive/master.zip -O /tmp/gtest.zip
- unzip /tmp/gtest.zip
- make -C $PWD/googletest-master/make
- export GTEST_PATH=$PWD/googletest-master

script: make && make test && ./tests/test

0 comments on commit f4e3dda

Please sign in to comment.