diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..63ccd6b --- /dev/null +++ b/circle.yml @@ -0,0 +1,23 @@ +dependencies: + override: + # Install LuaRocks + - sudo apt-get update + - sudo apt-get install build-essential lua5.2 liblua5.2-dev + - wget https://luarocks.org/releases/luarocks-2.4.1.tar.gz + - tar zxpf luarocks*.tar.gz + - cd luarocks*; ./configure; sudo make bootstrap; sudo luarocks install luasocket + # Install Moonscript + - sudo luarocks install moonscript + # Download the Atom test script + - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh + - chmod u+x build-package.sh + +test: + override: + - luarocks --version + - moonc --version + - ./build-package.sh + +machine: + environment: + APM_TEST_PACKAGES: "language-moonscript"