dist: trusty
sudo: false
language: node_js
node_js:
  - "8"
cache:
  bundler: true
  pip: true
  yarn: true
  directories:
    - "$HOME/.npm"
    - "$HOME/.cache"
install:
- travis_retry gem install s3_website -v 3.4.0
- travis_retry pip install awscli --upgrade --user
- travis_retry yarn install --frozen-lockfile
script:
- npm run build
after_script:
- ./s3_deploy.sh

dist: trusty
sudo: false
language: node_js
node_js:
  - "10"
cache:
  bundler: true
  pip: true
  yarn: true
  directories:
    - "$HOME/.npm"
    - "$HOME/.cache"
install:
- travis_retry gem install s3_website -v 3.4.0
- travis_retry pip install awscli --upgrade --user
- travis_retry yarn install --frozen-lockfile
script:
- npm run build
after_script:
- ./s3_deploy.sh

Update to node.js version 10
Update to node.js version 10
