From 8cabb12d0c227eae4f255812e8b7ec579d54753b Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 10 Feb 2018 17:04:04 -0500 Subject: add travis-ci deployment --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..a4923b51 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +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 -- cgit v1.2.3-60-g2f50