sudo: false

cache:
  directories:
    - node_modules
    - test/elm-stuff/build-artifacts
    
before_script:
  - nvm install stable
  - nvm use stable
  - npm install elm
  - elm-package install -y
  - npm install elm-test

script:
  - elm-test

notifications:
  email: false

cache:
  directories:
    - test/elm-stuff/build-artifacts
    
before_script:
  - nvm install stable
  - nvm use stable
  - npm install -g elm
  - elm-package install -y
  - npm install -g elm-test

script:
  - elm-test

notifications:
  email: false

Install elm and elm-test globally in Travis
Install elm and elm-test globally in Travis
