language: node_js
node_js:
  - "0.10"
install:
  - "bin/installDeps.sh"
  - "export GIT_HASH=$(cat .git/HEAD | head -c 7)"
before_script: 
  - "tests/frontend/travis/sauce_tunnel.sh"
script:
  - "tests/frontend/travis/runner.sh"
env:
  global:
    - secure: "gVR70BdAh093qBS5P5+V5NzmCYnLFFeIZn3XdgTpgpGRm7UE8GP53TEobtPf\neqpEpbWRTsEbdf+QPisVWrBZcNPFU4I3nucIqdyVobIcQD0TbBQYudm0yLQd\n3Ocqck0BIx9Ni9hBklJupmKt89LDQxNvkEb+uJJqlQwo2RZd36U=" 
    - SAUCE_USER=etherpad
jdk:
  - oraclejdk6
notifications:
  irc:
    channels:
      - "irc.freenode.org#etherpad-lite-dev"

language: node_js
node_js:
  - "0.10"
install:
  - "bin/installDeps.sh"
  - "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
before_script: 
  - "tests/frontend/travis/sauce_tunnel.sh"
script:
  - "tests/frontend/travis/runner.sh"
env:
  global:
    - secure: "gVR70BdAh093qBS5P5+V5NzmCYnLFFeIZn3XdgTpgpGRm7UE8GP53TEobtPf\neqpEpbWRTsEbdf+QPisVWrBZcNPFU4I3nucIqdyVobIcQD0TbBQYudm0yLQd\n3Ocqck0BIx9Ni9hBklJupmKt89LDQxNvkEb+uJJqlQwo2RZd36U=" 
    - SAUCE_USER=etherpad
jdk:
  - oraclejdk6
notifications:
  irc:
    channels:
      - "irc.freenode.org#etherpad-lite-dev"

Use rev-parse to get short commit hash
Use rev-parse to get short commit hash

Also ensures unique