machine:
  services:
    - docker
  java:
    version: oraclejdk8
  environment:
    PATH: ${HOME}/.local/bin:$PATH

checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive

dependencies:
  cache_directories:
    - ~/.stack
    - ~/.local
    - ~/.etlas
    - ~/.coursier

  pre:
    - mkdir -p ~/.local/bin

  override:
    - ./install.sh

test:
  override:
    - stack test eta

  post:
    - ./utils/scripts/circleci-trigger.sh typelead/eta-examples master $ETA_EXAMPLES_TOKEN

machine:
  services:
    - docker
  java:
    version: oraclejdk8
  environment:
    PATH: ${HOME}/.local/bin:$PATH

checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive

dependencies:
  cache_directories:
    - ~/.stack
    - ~/.local
    - ~/.etlas
    - ~/.coursier

  pre:
    - mkdir -p ~/.local/bin

  override:
    - ./install.sh

test:
  override:
    - stack test eta

  post:
    - ./utils/scripts/circleci-trigger.sh typelead/eta-examples master $ETA_EXAMPLES_TOKEN
    - ./utils/scripts/circleci-trigger.sh rahulmutt/eta-2048 master $ETA_2048_TOKEN

Add eta-2048 to triggered build
Add eta-2048 to triggered build
