language: haskell
install:
  - cabal install attoparsec-0.11.3.4
  - cabal install scientific-0.2.0.2
  - cabal install syb-0.3.7
  - cabal install
  - sudo ln -s ~/.cabal/bin/elm /usr/local/bin/elm
  - sudo ln -s ~/.cabal/bin/elm-io /usr/local/bin/elm-io
  - npm install jsdom
before_script: elm-io test/Test.elm test.js
script: echo "exit" | node test.js > /dev/null

language: haskell
install:
  - echo $PATH
  - git clone https://github.com/elm-lang/Elm.git
  - cabal sandbox init
  - cabal sandbox add-source Elm
  - cabal install
  - sudo cp .cabal-sandbox/bin/elm    /usr/local/bin/elm
  - sudo cp .cabal-sandbox/bin/elm-io /usr/local/bin/elm-io
  - npm install jsdom
before_script: elm-io test/Test.elm test.js
script: echo "exit" | node test.js > /dev/null

Use elm master branch HEAD in Travis
Use elm master branch HEAD in Travis
