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/
- echo '
static update serverLegacy.zip
Legacy-music.zip
news.txt
resources.xml' > 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