forked from themanaworld/tmwa-server-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (28 loc) · 797 Bytes
/
.travis.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
31
32
sudo: false
dist: trusty
language: c
compiler: clang
addons:
apt:
packages:
- zlibc
env:
- UPDATE_DIR=../../../public UPDATE_HTTP=none
script:
- mkdir public
- make updates
- make news
- cp -v world/map/news.txt public/
- cp -v world/map/news.html public/
- cp -v world/map/news.rss public/
- cp -v world/map/news.json public/
- echo '<title>static update server</title><a href="TMW.zip">TMW.zip</a><br><a href="TMW-music.zip">TMW-music.zip</a><br><a href="news.txt">news.txt</a><br><a href="resources.xml">resources.xml</a>' > public/index.html
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: false
local-dir: public
target-branch: gh-pages
on:
branch: stable