language: cpp

compiler:
  - clang
  - gcc

before_install:
  # TODO: remove the following when Travis has C++11-feature-complete G++.
  - script/update_compilers.bash
  # TODO: remove the following when Travis has CMake newer than 2.8.12.
  - script/update_cmake.bash

script:
  - cd build && cmake .. && make && make install

os:
  - linux
  - osx

language: cpp

compiler:
  - clang
  - gcc

before_install:
  # TODO: remove the following when Travis has C++11-feature-complete G++.
  - sudo script/update_compilers.bash
  # TODO: remove the following when Travis has CMake newer than 2.8.12.
  - sudo script/update_cmake.bash

script:
  - cd build && cmake .. && make && make install

os:
  - linux
  - osx

Add missing sudo when executing shell scripts
Add missing sudo when executing shell scripts
