forked from Afforess/Factorio-Stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (29 loc) · 1.09 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
dependencies:
pre:
- sudo apt-get update
- sudo apt-get install build-essential curl wget unzip git openssl lua5.2 lua5.2-dev libev-dev libjs-jquery -y
- wget -O /tmp/luarocks.zip https://github.com/keplerproject/luarocks/archive/v2.3.0.zip
- unzip /tmp/luarocks.zip -d /tmp
- (cd /tmp/luarocks-2.3.0 && ./configure --prefix=/usr --lua-version=5.2)
- make -C /tmp/luarocks-2.3.0 build
- sudo make -C /tmp/luarocks-2.3.0 install
- sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu
- sudo luarocks install serpent
- sudo luarocks install busted
- sudo luarocks install markdown
- sudo luarocks install ldoc
- sudo luarocks install luacheck
test:
override:
- make
deployment:
production:
branch: master
commands:
- git checkout gh-pages
- ./generate.sh
- git add .
- git config user.email "[email protected]"
- git config user.name "circleci"
- git commit -am "Automatic Github Page generation [ci skip]"
- git push