Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Add CI Configuration #8

Merged
merged 1 commit into from
Dec 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add CI Configuration
Add a configuration for CircleCI so we can get some automated CI builds
testing that this project is working as intended.
  • Loading branch information
Arcanemagus committed Dec 7, 2016
commit 622dbca44959f71333516d187705a6489937acea
23 changes: 23 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -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"