<commit_before>language: cpp

os:
  - linux
  - osx

sudo: required
dist: trusty
osx_image: xcode7

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
      sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
      sudo add-apt-repository --yes ppa:kalakris/cmake
      wget https://github.com/glfw/glfw/releases/download/3.1.1/glfw-3.1.1.zip
      sudo apt-get update -qq
    fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      brew uninstall xctool
      brew install xctool --HEAD
      brew install homebrew/versions/glfw3
      brew install libusb
    fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential xorg-dev libglu1-mesa-dev libglew-dev libglm-dev -qq; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install cmake -qq; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gcc-4.9 -qq; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libusb-1.0-0-dev -qq; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="g++-4.9"; fi

  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $CXX --version; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake --version; fi

  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip glfw-3.1.1.zip; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd glfw-3.1.1; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ..; fi

script:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
    uname -a
    make
    fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    xctool -workspace librealsense.xc/librealsense.xcworkspace -scheme librealsense ONLY_ACTIVE_ARCH=NO
    fi<commit_msg>update travis config<commit_after>os:
  - linux
  - osx

language: cpp

sudo: required
dist: trusty
osx_image: xcode7

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
      sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
      sudo add-apt-repository --yes ppa:kalakris/cmake
      wget https://github.com/glfw/glfw/releases/download/3.1.1/glfw-3.1.1.zip
      sudo apt-get update -qq;
    fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      brew uninstall xctool
      brew install xctool --HEAD
      brew install homebrew/versions/glfw3
      brew install libusb;
    fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq build-essential xorg-dev libglu1-mesa-dev libglew-dev libglm-dev; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq cmake; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq gcc-4.9; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq libusb-1.0-0-dev ; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="g++-4.9"; fi

  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $CXX --version; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake --version; fi

  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unzip glfw-3.1.1.zip; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd glfw-3.1.1; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install; fi
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ..; fi

script:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
    uname -a
    make
    fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    xctool -workspace librealsense.xc/librealsense.xcworkspace -scheme librealsense ONLY_ACTIVE_ARCH=NO;
    fi
{'fraction_non_alphanumeric': 0.17758484609313338, 'fraction_numerical': 0.01157590107866351, 'mean_word_length': 3.053304904051173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3564635', 'n_tokens_mistral': 1567, 'n_tokens_neox': 1528, 'n_words': 363}