dependencies:
    pre:
        - sudo apt-get update; sudo apt-get install unzip openssl lua5.1 luarocks libev-dev -y; sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu; sudo luarocks install copas; sudo luarocks install moonscript; sudo luarocks install lua-ev; sudo luarocks install busted; sudo luarocks install ldoc
test:
    override:
        - make

dependencies:
    pre:
        - sudo apt-get update
        - sudo apt-get install unzip openssl lua5.1 luarocks libev-dev -y
        - sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu
        - sudo luarocks install busted
        - sudo luarocks install ldoc
test:
    override:
        - make

deployment:
  production:
    branch: master
    commands:
        - git checkout gh-pages
        - ./generate.sh
        - git add .
        - git config user.email "bot@circleci.com"
        - git config user.name "circleci"
        - git commit -am "Automatic Github Page generation"
        - git push

Update to deploy github pages
Update to deploy github pages
