language: ruby

before_script:
  sudo apt-get install uuid-dev

rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0

language: ruby

rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.0

env:
  - BENCHMARK=1
  - COMPATIBILITY=1

before_install:
  - sudo apt-get install uuid-dev
  - test -z "$BENCHMARK" || sudo apt-get --no-install-recommends -qq install libossp-uuid-dev
  - test -z "$BENCHMARK" || gem install simple_uuid uuid uuid4r uuidtools
  - test -z "$COMPATIBILITY" || gem install simple_uuid uuidtools

script: >
  rake &&
  if [ "$BENCHMARK" ] ; then
    ruby -I lib benchmark/create
    ruby -I lib benchmark/parse
  fi

Add benchmarks to Travis CI builds
Add benchmarks to Travis CI builds
