Skip to content

Commit

Permalink
Merge pull request #13 from lyuts/travis_ci_config
Browse files Browse the repository at this point in the history
Added basic travis CI build configuration.
  • Loading branch information
Andersbakken committed Jul 15, 2014
2 parents 56f1c4e + ad312c1 commit 827f4b3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: cpp

compiler:
- gcc

install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi

before_script:
- mkdir build
- cd build
- cmake ..

script: make

os:
- linux
- osx

0 comments on commit 827f4b3

Please sign in to comment.