language: node_js
node_js:
  - "10"
  - "12"
install:
  - npm install

script:
  - npm run lint && npm test

# Allow Travis tests to run in containers.
sudo: false
