language: node_js

node_js:
  - "8"
  - "7"
  - "6"

sudo: false

cache:
  directories:
    - node_modules

install:
  - npm install

script:
  - grunt jshint
  - npm test

after_success:
  - npm run coverage

env:
  - ENV=test LOCALE=en

language: node_js

node_js:
  - "8"
  - "7"
  - "6"

sudo: false

cache:
  directories:
    - node_modules

install:
  - npm install

script:
  - grunt jshint
  - npm test

after_success:
  - npm run coverage

env:
  - ENV=test LOCALE=en

addons:
  artifacts:
    s3_region: "eu-west-2"
    debug: true
    paths:
      - $(ls /var/log/*.log | tr "\n" ":")
      - ./logs

Add log retention to s3
Add log retention to s3
