dist: trusty
before_install:
  - npm install -g npm@latest
  - npm set progress=false
install:
  - npm install
language: node_js
node_js:
  - "6.9"
  - "4.7"
script: npm run test
after_success:
  - curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_after_all.py
  - python travis_after_all.py
  - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
  - export $(cat .to_export_back) &> /dev/null
  - npm run semantic-release
addons:
  sauce_connect: true
branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

dist: trusty
before_install:
  - npm install -g npm@latest
  - npm set progress=false
install:
  - npm install
language: node_js
node_js:
  - "6.9"
  - "4.7"
script: npm run test:ci
after_success:
  - curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_after_all.py
  - python travis_after_all.py
  - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
  - export $(cat .to_export_back) &> /dev/null
  - npm run semantic-release
addons:
  sauce_connect: true
branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

Revert "test(ci): fix test script name"
Revert "test(ci): fix test script name"

This reverts commit 36f5f75fd1c6b7913355b2176755a119d99bcde5.
