language: node_js
node_js:
  - '0.12'
sudo: false
before_script:
  - npm install -g nodegit
script:
  - npm run ci
notifications:
  email:
  - kimmobrunfeldt+git-hours@gmail.com
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - libstdc++-4.9-dev

language: node_js
node_js:
  - '0.12'
sudo: false
git:
  depth: 1000000
before_script:
  - npm install -g nodegit
script:
  - npm run ci
notifications:
  email:
  - kimmobrunfeldt+git-hours@gmail.com
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - libstdc++-4.9-dev

Configure Travis to perform a full clone
Configure Travis to perform a full clone

Shallow clones break tests because not all commits are available.

The default clone depth is 50 and the repository has more commits than
that.

Since Travis does not support having an infinite clone-depth (or, simply
making a deep clone), the clone depth has been set to a really large
number.
