sudo: required
script:
  - git config --global user.email "travis-ci@example.com"
  - git config --global user.name "Travis-CI"
  - git clone https://github.com/reflex-frp/reflex-platform ../reflex-platform
  - ../reflex-platform/work-on ghcjs ../reflex-jsx --command "cabal configure --ghcjs && cabal build"

cache:
  directories:
    - /nix

os:
  - linux

sudo: required

script:
  - git config --global user.email "travis-ci@example.com"
  - git config --global user.name "Travis-CI"
  - git clone https://github.com/reflex-frp/reflex-platform ../reflex-platform
  - ../reflex-platform/work-on ghcjs ../reflex-jsx --command "cabal configure --ghcjs && cabal build && cabal test"

cache:
  directories:
    - /nix

os:
  - linux

Add cabal test run in CI
Add cabal test run in CI
