Skip to content

Commit

Permalink
Added basic travis CI build configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuts committed Jul 14, 2014
1 parent 56f1c4e commit ad312c1
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 ad312c1

Please sign in to comment.