dependencies:
  pre:
    - mkdir -p .tmp
    - git clone -b bugfix/duplicate-nesting https://github.com/Billiam/busted.git .tmp
    - sudo apt-get install luajit
    - sudo apt-get install luarocks
    - sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu/
    - cd .tmp/busted && sudo luarocks make && cd -
    - sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
test:
  override:
    - mkdir $CIRCLE_TEST_REPORTS/busted
    - busted -c -o junit spec > $CIRCLE_TEST_REPORTS/busted/promise.xml
  post:
    - luacov-coveralls -c spec/.luacov

dependencies:
  pre:
    - mkdir -p .tmp
    - git clone -b bugfix/duplicate-nesting https://github.com/Billiam/busted.git .tmp
    - sudo apt-get install luajit
    - sudo apt-get install luarocks
    - sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu/
    - cd .tmp && sudo luarocks make && cd -
    - sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
test:
  override:
    - mkdir $CIRCLE_TEST_REPORTS/busted
    - busted -c -o junit spec > $CIRCLE_TEST_REPORTS/busted/promise.xml
  post:
    - luacov-coveralls -c spec/.luacov

Fix path to checked-out busted version.
Fix path to checked-out busted version.
