sudo: false

os:
  - osx
  - linux

env:
  matrix:
    - ELM_VERSION=0.16.0 TARGET_NODE_VERSION=node
    - ELM_VERSION=0.16.0 TARGET_NODE_VERSION=4.2
    - ELM_VERSION=0.16.0 TARGET_NODE_VERSION=0.12

before_install:
  - if [ ${TRAVIS_OS_NAME} == "osx" ];
    then brew update; brew install nvm; mkdir ~/.nvm; export NVM_DIR=~/.nvm; source $(brew --prefix nvm)/nvm.sh;
    fi

install:
  - nvm install $TARGET_NODE_VERSION
  - nvm use $TARGET_NODE_VERSION
  - node --version
  - npm --version
  - npm install -g elm@$ELM_VERSION
  - npm install

script:
  - npm test

sudo: false

os:
  - osx
  - linux

env:
  matrix:
    - ELM_VERSION=0.17.1 TARGET_NODE_VERSION=node
    - ELM_VERSION=0.17.1 TARGET_NODE_VERSION=4.2
    - ELM_VERSION=0.17.1 TARGET_NODE_VERSION=0.12

before_install:
  - if [ ${TRAVIS_OS_NAME} == "osx" ];
    then brew update; brew install nvm; mkdir ~/.nvm; export NVM_DIR=~/.nvm; source $(brew --prefix nvm)/nvm.sh;
    fi

install:
  - nvm install $TARGET_NODE_VERSION
  - nvm use $TARGET_NODE_VERSION
  - node --version
  - npm --version
  - npm install -g elm@$ELM_VERSION
  - npm install

script:
  - npm test

Update Travis to use Elm 0.17
Update Travis to use Elm 0.17
